Commits

Evan Gates  committed 377f951

(hopefully) fix timeout counting

  • Participants
  • Parent commits 4022794

Comments (0)

Files changed (1)

File extras/chat.sh

 			cmd="${line#* }"
 			# wait for the fifo to exist, don't want to make a normal file
 			i=0
-			while ! [ -p "$PREFIX/$serv/$fifo" -a $i -lt 10 ]; do
+			while [ $i -lt 10 -a ! -p "$PREFIX/$serv/$fifo" ]; do
 				i=$((i + 1))
 				sleep 1
 			done