@@ -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