diff options
Diffstat (limited to 'bin/ak')
-rwxr-xr-x | bin/ak | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -57,6 +57,12 @@ case "$1" in shift subcmd="$AK_MODULESDIR/$(echo $1 | sed -e 's/ /-/g')" shift + if [ -z $* ] || [ ! -n "$*" ] + then + logit "ERROR" "No module selected" + ls -1 $AK_MODULESDIR + exit 1 + fi subargs="$*" $subcmd $subargs _ak_exit_program $? "$subcmd module finished"; |