2
0
Fork 0
main
Ducky 2023-08-15 07:39:12 +02:00
parent a21d862aa4
commit cd7231e307
1 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
function container_exec() {
podman_exec $@
}
function die() { function die() {
say error "$@" say error "$@"
exit 255 exit 255
@ -30,7 +34,7 @@ function get_real_path() {
function podman_exec() { function podman_exec() {
container="$1" container="$1"
command="${@:2}" command="${@:2}"
podman exec -it $container "$command" podman exec -it $container "/bin/sh -c \"$command\""
} }
function repeat() { function repeat() {