From f889c37316ee77b14c1ed4a7cb324c632f3f8451 Mon Sep 17 00:00:00 2001 From: Tyler Akins Date: Mon, 13 Nov 2017 13:53:38 -0600 Subject: [PATCH] Found another issue with strict mode --- mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mo b/mo index cadb032..776b384 100755 --- a/mo +++ b/mo @@ -146,7 +146,7 @@ moCallFunction() { moArgs=() # shellcheck disable=SC2031 - if [[ -n "$MO_ALLOW_FUNCTION_ARGUMENTS" ]]; then + if [[ -n "${MO_ALLOW_FUNCTION_ARGUMENTS-}" ]]; then moArgs=$3 fi