From fe03be43966970dc1898386f9a0067616dc8e472 Mon Sep 17 00:00:00 2001 From: 4s3ti <4s3ti@4s3ti.net> Date: Thu, 16 Mar 2023 01:13:08 +0100 Subject: [PATCH] refactor(core): Ignore SC2317 --- auto_install/install.sh | 2 ++ scripts/update.sh | 1 + 2 files changed, 3 insertions(+) diff --git a/auto_install/install.sh b/auto_install/install.sh index 1a79612..0475192 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -1531,7 +1531,9 @@ isRepo() { return 1 } ${SUDO} git status &> /dev/null && echo " OK!" + #shellcheck disable=SC2317 return 0 || echo " not found!" + #shellcheck disable=SC2317 return 1 } diff --git a/scripts/update.sh b/scripts/update.sh index f8efe39..4c46e51 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -1,4 +1,5 @@ #!/bin/bash +#shellcheck disable=SC2317 ### Updates pivpn scripts (Not PiVPN) # TODO: Delete this section when the updating functionality will be re-enabled ###