b889724aa3ef50b411c19fc5daec637889d04830
[grml-live.git] / patches / fai_dirupdate_3.diff
1 --- /usr/sbin/fai.orig  2007-09-21 10:45:21.000000000 +0200
2 +++ /usr/sbin/fai       2007-09-21 10:45:22.000000000 +0200
3 @@ -280,7 +280,7 @@
4      trap 'clean_exit' EXIT
5  fi
6  
7 -mkfifo $LOGDIR/logfifo
8 +[ -w $LOGDIR/logfifo ] || mkfifo $LOGDIR/logfifo
9  tee -a $LOGDIR/fai.log < $LOGDIR/logfifo &
10  # in bash &> redirect stdout and stderr to file
11  fstart &> $LOGDIR/logfifo