aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/argparser.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argparser.bash b/src/argparser.bash
index 871e8ca..8b4a85a 100644
--- a/src/argparser.bash
+++ b/src/argparser.bash
@@ -96,7 +96,7 @@ function args_option
fi
elif [ "$1" = null ]; then
rc="$(head -n $(( $3 + 1 )) < "${dir}/null" | tail -n 1)"
- return (( 1 - $rc ))
+ return $(( 1 - $rc ))
elif [ "$1" = get ]; then
shift 2
if [ $# = 0 ]; then