aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-sblock
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-sblock')
-rwxr-xr-xbin/ak-sblock12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/ak-sblock b/bin/ak-sblock
index 742b6a9..ec7464e 100755
--- a/bin/ak-sblock
+++ b/bin/ak-sblock
@@ -30,9 +30,10 @@ PROGRAM=$(basename $0)
descriptionString="Sblock tools"
# At least these
-source $AK_LIBDIR/_ak_log
-source $AK_LIBDIR/_ak_script
-source $AK_LIBDIR/_ak_sblock
+source $AK_LIBDIR/_ak_lib_load
+_ak_lib_load _ak_log
+_ak_lib_load _ak_script
+_ak_lib_load _ak_sblock
# Flags to run
if [ ! -z $1 ]
@@ -40,7 +41,8 @@ then
case $1 in
-h | --help) _ak_usage; exit;;
-s | --show) shift; _ak_sblock_show $1; exit;;
- * ) _ak_usage;;
+ * ) _ak_usage err;;
esac
-else _ak_usage
+else
+ _ak_usage err
fi