web_cmd enable debug, fix touch

This commit is contained in:
pedro 2024-03-15 09:23:19 +01:00
parent c6c75d981d
commit 9d036f9ad5
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
set -e
set -u
# DEBUG
#set -x
set -x
main() {
cmd="${1}"
@ -14,7 +14,7 @@ main() {
content="$(cat "${flock}")"
echo "web command already requested: ${content}"
else
touch
touch "${flock}"
deployment="${deployment:-prod}"
echo "requested ${cmd}"
${cmd} &