app-emulation/docker: do not pass empty argument when selinux is disabled

in https://github.com/coreos/coreos-overlay/pull/1639, the script would
set USE_SELINUX to the blank string, causing an extra blank argument to
be passed to docker daemon, resulting in it not starting when docker
runs on btrfs.
This commit is contained in:
Nick Owens 2015-11-21 19:37:26 -08:00
parent 829bd494da
commit a040bc7932
2 changed files with 1 additions and 1 deletions

View File

@ -79,4 +79,4 @@ fi
USE_SELINUX="--selinux-enabled"
maybe_disable_selinux
exec docker "$@" "${USE_SELINUX}"
exec docker "$@" ${USE_SELINUX}