-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error function is returning exit code 0 #1485
Comments
I'm on this and could be an issue with some rare OS environment settings. Thanks! |
@didacog FYI: You can verify this e.g. by adding to Error "testerror" (I misuse 030_update_recovery_system.sh for such tests # usr/sbin/rear -d -D mkrescue Relax-and-Recover 2.2 / Git Using log file: /root/rear.master/var/log/rear/rear-e205.log ERROR: testerror Aborting due to an error, check /root/rear.master/var/log/rear/rear-e205.log for details Terminated # echo $? 143 When I change the Error function to this ... kill -USR1 $MASTER_PID exit 99 } it still terminates with exit-code 143. ... the already used bash exit codes: ... 128+n Fatal error signal "n" e.g. kill -9 $PPID of script $? returns 137 (128 + 9) ... |
@didacog |
@jsmeix Thanks for updating and closing this issue. Regards, |
@didacog |
Relax-and-Recover (ReaR) Issue Template
Fill in the following items before submitting a new issue
(quick response is not guaranteed with free support):
Seems that since some changes in _input-output-functions.sh the Error function is returning exit code 0 and DRLM remote mkbackup execution cannot detect the error in the rear execution.
When a backup fails DRLM cannot detect the error (previously >0) and hangs.
The text was updated successfully, but these errors were encountered: