aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ak5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/ak b/bin/ak
index 7ca3f3c..edf439d 100755
--- a/bin/ak
+++ b/bin/ak
@@ -69,6 +69,11 @@ case "$1" in
exit 1
fi
subargs="$*"
+ if [ ! -f $subcmd/main.sh ]
+ then
+ _ak_log_error "No $(basename $subcmd) module"
+ exit 1
+ fi
$subcmd/main.sh $subargs
_ak_exit_program $? "$subcmd module finished";
;;