From d8d0cae0ac4c31636dd4cef06c7a87c98a525c5c Mon Sep 17 00:00:00 2001 From: Alex Jurkiewicz Date: Sun, 16 Sep 2018 18:21:22 +1000 Subject: [PATCH] Remove unnecessary sub-shell (Shellcheck SC2235) --- acts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acts b/acts index 38f7655..f8cca92 100755 --- a/acts +++ b/acts @@ -12,7 +12,7 @@ if [ "$#" = "1" ] && [ "$1" = "--version" ]; then exit 0 fi -if [ "$#" = "1" ] && ([ "$1" = "-h" ] || [ "$1" = "--help" ]); then +if [ "$#" = "1" ] && { [ "$1" = "-h" ] || [ "$1" = "--help" ]; }; then echo "usage: acts" echo echo "Configuration should be in /etc/acts.conf or /usr/local/etc/acts.conf"