base-files: fix shell syntax (prevent error messages when activating initscripts in IB)

SVN-Revision: 20571
v19.07.3_mercusys_ac12_duma
Nicolas Thill 14 years ago
parent e10df8d2b5
commit b34bba25d2

@ -74,5 +74,5 @@ EOF
ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}"
list_contains ALL_COMMANDS "$action" || action=help
[ "$action" == reload ] && action='eval reload "$@" || restart "$@" && :'
[ "$action" = "reload" ] && action='eval reload "$@" || restart "$@" && :'
$action "$@"

Loading…
Cancel
Save