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