mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f8387f6904
The docker script in contrib/init/sysvinit-redhat will fail silently on a start if Docker is not installed in the default /usr/bin/ location. While a non-zero exit code is returned the user will receive no visible indication (i.e. error message) as to why Docker was not started. This commit changes the logic so that in the case that the docker executable is not found in the expected location or the user does not have execute permissions on the executable appropriate error messages are now shown to the user as well as exiting with a non-zero exit code Signed-off-by: Rob Vesse <rvesse@dotnetrdf.org> |
||
---|---|---|
.. | ||
openrc | ||
systemd | ||
sysvinit-debian | ||
sysvinit-redhat | ||
upstart |