diff options
author | Sebastien Luttringer <seblu@seblu.net> | 2011-05-31 08:27:18 +0200 |
---|---|---|
committer | Sebastien Luttringer <seblu@seblu.net> | 2011-05-31 08:27:18 +0200 |
commit | 997f095bf69a4470189e1ccfc345f354899192d8 (patch) | |
tree | d13242b91d47fbd9e633ba48882f3b2577e0c998 /rc.d | |
parent | a7627c6d0784ca169b14265744ce356a7d740f62 (diff) |
rc.d: print usage if not enough argument
Signed-off-by: Sebastien Luttringer <seblu@seblu.net>
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -42,6 +42,8 @@ case $1 in done ;; *) + # check min args count + (( $# < 2 )) && usage action=$1 shift # set same environment variables as init |