commit 51544bff2293f286a0405a2a8db8b1272a491513 parent bb72f2eb3d87dd58a99f688c6ed1995a92992d6f Author: Hartmut Goebel <h.goebel@crazy-compilers.com> Date: Wed, 23 Apr 2025 21:03:42 +0200 sandcastle-enter: Allow running other program than shell. Diffstat:
| M | sandcastle-enter | | | 8 | +++++++- |
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/sandcastle-enter b/sandcastle-enter @@ -1,3 +1,9 @@ #!/usr/bin/env bash -exec podman exec -e=TERM -it taler-sandcastle /bin/bash +set -e + +if [[ $# == 0 ]] ; then + exec podman exec -e=TERM -it taler-sandcastle /bin/bash +else + exec podman exec -e=TERM -it taler-sandcastle "$@" +fi