From 868795114f1acfb34149c22a9957169005bfc20f Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 16 Jul 2024 08:44:14 +0300 Subject: bugfix --- bin/ak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/ak') diff --git a/bin/ak b/bin/ak index f1a399b..a22542b 100755 --- a/bin/ak +++ b/bin/ak @@ -61,13 +61,13 @@ case "$1" in -m|--module) shift subcmd="$AK_MODULESDIR/$(echo $1 | sed -e 's/ /-/g')" - shift - if [ ! -n $1 ] + if [ ! -n "$1" ] then _ak_log_error "No module selected" ls -1 $AK_MODULESDIR exit 1 fi + shift subargs="$*" if [ ! -n $subargs ] then -- cgit v1.2.3