Parcourir la source

tee -a at all outputs

Paul Klumpp il y a 12 ans
Parent
commit
562e389321
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      startcimsqwbot.sh

+ 2 - 2
startcimsqwbot.sh

@@ -20,9 +20,9 @@ while [ 1 ]; do
 	qmake
 	make
 
-	echo started at $(date) >> runlog.log
+	echo "started at $(date)" | tee -a runlog.log
 	LD_LIBRARY_PATH="$LIBPATH" stdbuf -oL ./cimsqwbot | tee -a runlog.log
-	echo crashed at $(date) - lol, we never crash. >> runlog.log
+	echo "crashed at $(date) - lol, we never crash." | tee -a runlog.log
 
 	sleep 3
 done