@@ -14,9 +14,8 @@
# License: GNU General Public License v2
-/usr/bin/which ndsd >/dev/null 2>&1
-if [ $? -ne 0 ]; then
- exit;
+if ! command -v ndsd >/dev/null 2>&1; then
+ exit 0;
fi
# Execute command to retrieve information