Commits

Evan Gates  committed 7ab1234

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

  • Participants
  • Parent commits 92cc1ea

Comments (0)

Files changed (1)

File extras/chat.sh

 	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%% *}"