Skip to content

Possible return codes #2746

Closed Answered by jsmeix
rmccrack asked this question in Q&A
Discussion options

You must be logged in to vote

As far as I see the only normal exit codes are 0, 1, and 143
see usr/sbin/rear (excerpts)

# When this point is reached, the workflow is done without a real error because
# for real errors one of the Error functions should be called that kills rear and
# then the exit code is usually 143 = 128 + 15 (15 = SIGTERM from the USR1 trap)
...
            # The checklayout workflow is special because it sets EXIT_CODE=1
            # when the disk layout has changed or when configuration files have changed
            # but that exit code 1 is no error but meant as a signal that things have changed
            # which require a new ISO image so that users can run "rear checklayout || rear mkrescue…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jsmeix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment