1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #15366 from rvesse/sysvinit-redhat-silent-fail

Fix silent failure in RedHat sysvinit script
This commit is contained in:
Jessie Frazelle 2015-08-21 14:54:25 -07:00
commit c5733e6a20

View file

@ -41,7 +41,14 @@ prestart() {
}
start() {
[ -x $exec ] || exit 5
if [ ! -x $exec ]; then
if [ ! -e $exec ]; then
echo "Docker executable $exec not found"
else
echo "You do not have permission to execute the Docker executable $exec"
fi
exit 5
fi
check_for_cleanup