Skip to content

Commit

Permalink
Update ocrd_lib.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Sachunsky <[email protected]>
  • Loading branch information
markusweigelt and bertsky authored Mar 1, 2024
1 parent 0ae9ce4 commit 770e1b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocrd_lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ post_process_to_mets() {

# exit in async or sync mode
close() {
if test "$ASYNC" = true -o "$ASYNC" = "true"; then
if test "$ASYNC" = true; then
logger -p user.info -t $TASK "ocr_exit in async mode - immediate termination of the script"
# prevent any RETVAL from being written yet
trap - EXIT
Expand Down

0 comments on commit 770e1b6

Please sign in to comment.