Răsfoiți Sursa

Update 'localchecks/edir-version.sh'

Michael Honkoop 3 zile în urmă
părinte
comite
d7d0c5374d
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 4 1
      localchecks/edir-version.sh

+ 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