diff --git a/contrib/init/sysvinit-redhat/docker b/contrib/init/sysvinit-redhat/docker index 6feeb20292..9757d0395c 100755 --- a/contrib/init/sysvinit-redhat/docker +++ b/contrib/init/sysvinit-redhat/docker @@ -65,7 +65,13 @@ start() { while [ ! -f $pidfile -a $tries -lt 10 ]; do sleep 1 tries=$((tries + 1)) + echo -n '.' done + if [ ! -f $pidfile ]; then + failure + echo + exit 1 + fi success echo else