diff --git a/bashbot.sh b/bashbot.sh index 80befa6..a4b8d1e 100755 --- a/bashbot.sh +++ b/bashbot.sh @@ -155,7 +155,7 @@ startproc() { } inproc() { - tmux send-keys -t $copname "$MESSAGE + tmux send-keys -t $copname "$MESSAGE ${URLS[*]} " ps aux | grep -v grep | grep -q "$copid" || { rm -r $copname; }; }