Don't use traps

This commit is contained in:
mathiascode 2019-09-21 16:58:19 +03:00
parent 2886e9f225
commit b3112d3869

View file

@ -15,7 +15,7 @@ while true; do
tmux new -d -s server 'sh -x script/server' >/dev/null
tmux new -d -s remote 'sh -x script/remote' >/dev/null
tmux new -d -s schematics 'sh -x script/schematics' >/dev/null
trap 'trap' SIGINT && ttyd -p $PORT tmux attach -t server
stty intr undef && ttyd -p $PORT tmux attach -t server
sleep 5
done &