„gaboshlib/g_runcmd.bashfunc“ ändern

This commit is contained in:
olli 2023-01-17 10:18:11 +01:00
parent b812314e91
commit f05c859b1c

View File

@ -2,7 +2,7 @@
function g_runcmd { function g_runcmd {
set -o pipefail set -o pipefail
>&2 echo "running $@" #>&2 echo "running $@"
$@ 2>&1 | tee $g_tmp/g_runcmd-output $@ 2>&1 | tee $g_tmp/g_runcmd-output
g_runcmd_exitcode=$? g_runcmd_exitcode=$?