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

Update 'localchecks/edir-version.sh'

Michael Honkoop 3 өдөр өмнө
parent
commit
161ee42e05

+ 2 - 3
localchecks/edir-version.sh

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