diff options
-rw-r--r-- | recipes-containers/docker/files/docker.init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init index b37ddc95..24f8fea6 100644 --- a/recipes-containers/docker/files/docker.init +++ b/recipes-containers/docker/files/docker.init | |||
@@ -40,7 +40,7 @@ start() { | |||
40 | if ! [ -f $pidfile ]; then | 40 | if ! [ -f $pidfile ]; then |
41 | printf "Starting $prog:\t" | 41 | printf "Starting $prog:\t" |
42 | echo -e "\n$(date)\n" >> $logfile | 42 | echo -e "\n$(date)\n" >> $logfile |
43 | "$unshare" -m -- $exec $other_args &>> $logfile & | 43 | "$unshare" -m -- $exec $other_args >> $logfile 2>&1 & |
44 | pid=$! | 44 | pid=$! |
45 | touch $lockfile | 45 | touch $lockfile |
46 | # wait up to 10 seconds for the pidfile to exist. see | 46 | # wait up to 10 seconds for the pidfile to exist. see |