1
0
Эх сурвалжийг харах

Update 'localchecks/edir-version.sh'

Michael Honkoop 3 өдөр өмнө
parent
commit
d7d0c5374d

+ 4 - 1
localchecks/edir-version.sh

@@ -14,7 +14,10 @@
 # Check if ndsd is present on the system, if not then exit (nothing to do)
 # This assumes that you have exported the environment variables when installing eDirectory
 
-if ! command -v ndsd >/dev/null 2>&1; then
+SERVICE="ndsd"
+
+if ! command -v "$SERVICE" >/dev/null 2>&1; then
+    echo "3 \"$SERVICE\" - $SERVICE executable was not found."
     exit 0;
 fi