Browse code

Fix syntax error in init script

Signed-off-by: oyld <oyld0210@163.com>

oyld authored on 2015/12/22 19:27:18
Showing 1 changed files
... ...
@@ -56,7 +56,7 @@ start() {
56 56
         prestart
57 57
         printf "Starting $prog:\t"
58 58
         echo "\n$(date)\n" >> $logfile
59
-        "$unshare" -m -- $exec daemon $other_args &>> $logfile &
59
+        "$unshare" -m -- $exec daemon $other_args >> $logfile 2>&1 &
60 60
         pid=$!
61 61
         touch $lockfile
62 62
         # wait up to 10 seconds for the pidfile to exist.  see