summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrunjobsparallel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/runjobsparallel.in b/runjobsparallel.in
index 8e2d664..639449c 100755
--- a/runjobsparallel.in
+++ b/runjobsparallel.in
@@ -39,7 +39,7 @@ do
if [ -r "${errFiles[${i}]}" ]; then
curErr=$(cat "${errFiles[${i}]}")
[ ${curErr} -gt ${maxErr} ] && maxErr=${curErr}
- elif kill -0 "${pids[${i}]}"; then
+ elif [ -d "/proc/${pids[${i}]}" ]; then
allesDa=false
else
echo 255 > "${errFiles[${i}]}"