Skip to content

Commit

Permalink
Update run_and_pause.sh.j2
Browse files Browse the repository at this point in the history
Remove debug output
  • Loading branch information
dometto authored Jan 22, 2025
1 parent fc761aa commit 345a3f7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions playbooks/roles/uu_generic/templates/run_and_pause.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ else
exit 100
fi

echo $PAUSE_COMMAND

TMUX_SESSION="run_and_pause$(date '+%d%m%Y%H%M%S')"

echo "Will run the following command, and pause the workspace when it exits:"
Expand All @@ -50,6 +48,5 @@ echo
read -p "Press any key to continue... " -n1 -s

FULL_COMMAND="$COMMAND; $PAUSE_COMMAND; bash"
echo $FULL_COMMAND

tmux new-session -s "$TMUX_SESSION" "$FULL_COMMAND"

0 comments on commit 345a3f7

Please sign in to comment.