summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrunjobsparallel.in7
1 files changed, 1 insertions, 6 deletions
diff --git a/runjobsparallel.in b/runjobsparallel.in
index 7209a84..8e2d664 100755
--- a/runjobsparallel.in
+++ b/runjobsparallel.in
@@ -36,15 +36,10 @@ do
maxErr=0
for ((i=0; i<${#errFiles[@]}; i++))
do
- [ ! -r "${errFiles[${i}]}" ] \
- && kill -0 "${pids[${i}]}" \
- && laeuftNoch=true \
- || laeuftNoch=false
-
if [ -r "${errFiles[${i}]}" ]; then
curErr=$(cat "${errFiles[${i}]}")
[ ${curErr} -gt ${maxErr} ] && maxErr=${curErr}
- elif ${laeuftNoch}; then
+ elif kill -0 "${pids[${i}]}"; then
allesDa=false
else
echo 255 > "${errFiles[${i}]}"