| ... | ... |
@@ -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 |