From ff18ceae0d2e7dcd861a1651f44da7b7181b8401 Mon Sep 17 00:00:00 2001 From: pedro Date: Fri, 15 Mar 2024 09:37:04 +0100 Subject: [PATCH] web_cmd: maybe now is fixed --- web_cmd.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/web_cmd.sh b/web_cmd.sh index 9747a1c..69c4ce5 100755 --- a/web_cmd.sh +++ b/web_cmd.sh @@ -17,10 +17,9 @@ main() { printf "%s" "${cmd}" > "${flagf}" deployment="${deployment:-prod}" printf "requested command:\n %s\n" "${cmd}" - ${cmd} & + ${cmd} + rm "${flagf}" fi - rm "${flagf}" - } main "${@}"