浏览代码

Update 'localchecks/edir-version.sh'

Michael Honkoop 3 天之前
父节点
当前提交
d7d0c5374d
共有 1 个文件被更改,包括 4 次插入 和 1 次删除
  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