diff options
author | Colin Guthrie <colin@mageia.org> | 2012-03-24 20:00:58 +0000 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2012-03-24 20:42:31 +0000 |
commit | e8fe9a7ec00fe4c0c9cb4fa489111aaa6893816d (patch) | |
tree | f07afe5d0cc72d79843c65423ec05ae339303ff9 | |
parent | 2a2806445da7332b10af5ebb8d89d516e171ed6b (diff) | |
download | initscripts-e8fe9a7ec00fe4c0c9cb4fa489111aaa6893816d.tar initscripts-e8fe9a7ec00fe4c0c9cb4fa489111aaa6893816d.tar.gz initscripts-e8fe9a7ec00fe4c0c9cb4fa489111aaa6893816d.tar.bz2 initscripts-e8fe9a7ec00fe4c0c9cb4fa489111aaa6893816d.tar.xz initscripts-e8fe9a7ec00fe4c0c9cb4fa489111aaa6893816d.zip |
Fix 'service' when no action is supplied
-rwxr-xr-x | service | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -138,7 +138,7 @@ if [[ -n $fullrestart ]];then exit 1 fi -[[ -z $options ]] && { echo "I need an action"; options="--help" ;} +[[ -z $options ]] && { echo -e "I need an action\n" 1>&2; usage;} check_if_inetd "$service" ; [[ -z $service ]] && exit 1 |