#1507 PR merged
: Add an ExitTask to show a failure message if it exits unintendedly.¶
Labels: enhancement
, fixed / solved / done
jsmeix opened issue at 2017-09-20 15:46:¶
Now a failure message like
rear mkrescue failed, check /root/rear.master/var/log/rear/rear-e205.log for details
is shown when it exits in any unintended way,
e.g. when it exits because [Ctrl]+[C] was pressed or
when it exits at an arbitrary command because of 'set -e'.
For the latter case cf.
https://github.com/rear/rear/issues/700#issuecomment-327755633
That failure message is not show when it exits/aborts
intentionally via the Error function plus the USR1 trap
because in this case the Error function and the USR1 trap
show already appropriate messages.
jsmeix commented at 2017-09-20 16:11:¶
It "just works" for me so that I "just merge" it now
because I like to get early feedback or bug reports
if something gets wrong because of that but I do not
expect real errors because in the end it is only about
an additional message.
[Export of Github issue for rear/rear.]