summaryrefslogtreecommitdiff
path: root/runjobsparallel.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-05-16 19:44:36 +0200
committerErich Eckner <git@eckner.net>2021-05-16 19:44:36 +0200
commitf95a4c28cc9909b271084fa209d4d3bdf373b333 (patch)
treea1b74e5112af3e68d66a565daf94a07c61a66bca /runjobsparallel.in
parentf23133427797713e723a359daae58b8636c57cde (diff)
downloadrunjobsparallel-f95a4c28cc9909b271084fa209d4d3bdf373b333.tar.xz
runjobsparallel.in: style
Diffstat (limited to 'runjobsparallel.in')
-rwxr-xr-xrunjobsparallel.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/runjobsparallel.in b/runjobsparallel.in
index 1e5648c..e567d20 100755
--- a/runjobsparallel.in
+++ b/runjobsparallel.in
@@ -20,7 +20,10 @@ for file in ./*; do
if [ -f $file ] && [ -x $file ]; then
i=${#errFiles[@]}
errFiles[${i}]="${tmpDir}/err.${i}"
- (nice -n 19 $file; echo $? > "${errFiles[${i}]}")&
+ (
+ nice -n 19 $file
+ echo $? > "${errFiles[${i}]}"
+ )&
pids[${i}]=$!
fi
done