commit 4003ef707fc85757b50a1bb4dcb59d26a39cea89
parent 8a6bf07755cc42ff8986e2e8184e2e7751091b2b
Author: Matthew Carlson <matt@mcarlson.xyz>
Date: Thu, 2 Dec 2021 18:08:20 -0500
ignore specific shellcheck error
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.local/bin/hosts.sh b/.local/bin/hosts.sh
@@ -16,6 +16,7 @@ main() {
[ -f "${HOSTS_ENABLED_DIR}/hosts" ] && disable && sleep 1 && return 0
# enable by moving hosts to /etc/
+ # shellcheck disable=SC3044
[ -f "${HOSTS_DISABLED_DIR}/hosts" ] && enable && sleep 1 && return 0
}