diff --git a/sh/start-stop-daemon.sh b/sh/start-stop-daemon.sh index 6a3e2050..ea992693 100644 --- a/sh/start-stop-daemon.sh +++ b/sh/start-stop-daemon.sh @@ -4,7 +4,13 @@ ssd_start() { - [ -n "$command" ] || return 0 + if [ -z "$command" ]; then + ewarn "The command variable is undefined." + ewarn "There is nothing for ${name:-$RC_SVCNAME} to start." + ewarn "If this is what you intend, please write a start function." + ewarn "This will become a failure in a future release." + return 0 + fi local _background= ebegin "Starting ${name:-$RC_SVCNAME}"