summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh
index 547000a6c..626ba3f70 100755
--- a/functions.sh
+++ b/functions.sh
@@ -9,7 +9,7 @@ do
done
# Source local functions
-if [ -d scripts/functions ]
+if ls scripts/functions/*.sh > /dev/null 2>&1
then
for FUNCTION in scripts/functions/*.sh
do