Observed issue using BusyBox v1.30.1 not supporting bashism /etc/init.d/docker.init: line 43: syntax error: unexpected redirection
Change-Id: I9f73564cfb56352fbf7d80723ea938b66eceb5c7 Forwarded: https://lists.yoctoproject.org/g/meta-virtualization Signed-off-by: Philippe Coval <[email protected]> --- recipes-containers/docker/files/docker.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init index b37ddc9..24f8fea 100644 --- a/recipes-containers/docker/files/docker.init +++ b/recipes-containers/docker/files/docker.init @@ -40,7 +40,7 @@ start() { if ! [ -f $pidfile ]; then printf "Starting $prog:\t" echo -e "\n$(date)\n" >> $logfile - "$unshare" -m -- $exec $other_args &>> $logfile & + "$unshare" -m -- $exec $other_args >> $logfile 2>&1 & pid=$! touch $lockfile # wait up to 10 seconds for the pidfile to exist. see -- 2.20.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5100): https://lists.yoctoproject.org/g/meta-virtualization/message/5100 Mute This Topic: https://lists.yoctoproject.org/mt/71468074/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
