}
attempt () {
- exec >"$queue/$package.err" 2>&1
+ exec 3>&2 >"$queue/$package.err" 2>&1
if actually; then
rm -f "$queue/$package.a"
mv -f "$queue/$package.err" "$queue/$package.log"
rm "$queue/$package.lock"
else
- cat >&2 "$queue/$package.err"
+ cat >&3 "$queue/$package.err"
exit 127
fi
}
backlog)
for f in $queue/*.[na]; do
- lock-and-process-baseof-f
+ (lock-and-process-baseof-f ||:)
done
;;
all)
for f in [a-z0-9]*.git; do
- lock-and-process-baseof-f
+ (lock-and-process-baseof-f)
done
;;