From b3112d38692ff75dd425bfe44bb202d78c32882e Mon Sep 17 00:00:00 2001 From: mathiascode Date: Sat, 21 Sep 2019 16:58:19 +0300 Subject: [PATCH] Don't use traps --- bin/start | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/start b/bin/start index 51ba0b4..d649dcf 100755 --- a/bin/start +++ b/bin/start @@ -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 &