From d1c5209babbecd0840bb17521e5b078987dd802e Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 6 Jun 2020 23:44:18 -0400 Subject: [PATCH] Fix shellcheck --- openwrtBuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openwrtBuild b/openwrtBuild index eba453d..9c71cdb 100755 --- a/openwrtBuild +++ b/openwrtBuild @@ -81,8 +81,8 @@ OPTIONS --debug, -d --help, -h EOF - # Exit using passed exit code - [[ -z $1 ]] && exit 0 || exit "$1" + # Exit using passed exit code + [[ -z $1 ]] && exit 0 || exit "$1" } @@ -142,6 +142,7 @@ setVars() { debug "${FUNCNAME[0]}" if [[ -f /etc/os-release ]]; then + # shellcheck disable=SC1091 source /etc/os-release export ID="$ID" echo "Detected platform: $ID"