From 1f8ff1e5b3e8fb4ab8ace716d6b85482d97d407c Mon Sep 17 00:00:00 2001 From: david Date: Sat, 9 Nov 2019 01:21:02 +0100 Subject: [PATCH] fixed an issue with the dependency check --- synchole.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synchole.sh b/synchole.sh index 9c7c852..b39b3b4 100755 --- a/synchole.sh +++ b/synchole.sh @@ -155,7 +155,7 @@ if ! amipihole; then fi for DEPENDENCY in $DEPENDENCIES; do - if ! $(which $DEPENDENCY); then + if [ ! $(which $DEPENDENCY) ]; then log error "$DEPENDENCY is not installed" exit 1 fi