Commits

Anonymous committed 7ab1234

check for pcw before running it in chat.sh, this way it is not pcw specific

Comments (0)

Files changed (1)

 	echo "killing previous pcw" >> "$LOG"
 	pkill -f "pcw $PREFIX" 2>&1 >> "$LOG"
 fi
-pcw "$PREFIX" >> "$LOG" 2>&1 &
+which pcw > /dev/null 2>&1 && pcw "$PREFIX" >> "$LOG" 2>&1 &
 
 while read line; do
 	serv="${line%% *}"