From 2036217f74ace55a891f46b3b223ed493eb5d2d9 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 19 Jan 2016 20:59:15 +0100 Subject: [PATCH] Let script read urls --- bashbot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }; }