]> Sergey Matveev's repositories - sgmon.git/blobdiff - probelist.sh
Ability to have shebangless run-s
[sgmon.git] / probelist.sh
index 6cafcb2d3a837b600d07761cb342b2ce1a4f696f..28a4eb50826baca97ca5dfa3c7f6f74033259c3f 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh -e
 
 find . -mindepth 1 -type d -not -name ".*" | while read probe ; do
-    [ -x $probe/run ] || continue
+    [ -e $probe/run ] || continue
     echo ${probe#./}
 done | sort