From 39d033c50dafdf65f7c30c56aa5cea126c626b52 Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Sat, 29 Jan 2022 21:48:35 +0400 Subject: [PATCH] Fixed Codacy note in shell script. --- data/gsmartcontrol-root.in.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gsmartcontrol-root.in.sh b/data/gsmartcontrol-root.in.sh index 1f123c9..a47514e 100644 --- a/data/gsmartcontrol-root.in.sh +++ b/data/gsmartcontrol-root.in.sh @@ -93,7 +93,7 @@ fi if [ "$GSMARTCONTROL_SU" = "" ]; then for subin in $candidates; do - which $subin &>/dev/null + which "$subin" &>/dev/null if [ $? -eq 0 ]; then found_su="$subin"; break;