Skip to content

Commit

Permalink
Merge pull request #27 from glerchundi/master
Browse files Browse the repository at this point in the history
fix: if an option is provided as argument init never stops
  • Loading branch information
glerchundi committed Mar 23, 2015
2 parents 959d3f6 + 767072b commit 306364d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/overlay-rootfs/etc/s6/init/init-stage2-cmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
if -t { s6-test $# -ne 0 }
foreground { s6-setsid -gq -- with-contenv $@ }
import -u ?
if { s6-echo "${1} exited ${?}" }
if { s6-echo -- "${1} exited ${?}" }

# Stop supervision tree
foreground { s6-svscanctl -t /var/run/s6/services }
Expand Down

0 comments on commit 306364d

Please sign in to comment.