diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-09-27 00:32:42 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-09-28 23:49:01 +0200 |
commit | bb7c5bad4a088a18d102c448caaa72e36bfdb84d (patch) | |
tree | fe5ae93bf447afb1e94c121451de48ca032e3aa7 /src/resolve/resolved-dns-rr.h | |
parent | 062b99e8be63ba49b80d988da9b00a1d39255496 (diff) |
coredumpctl: delay the "on tty" refusal until as late as possible
For the user, if the core file is missing or inaccessible, it is
more interesting that the fact that they forgot to pipe to a file.
So delay the failure from the check until after we have verified
that the file or the COREDUMP field are present.
Partially fixes #4161.
Also, error reporting on failure was duplicated. save_core() now
always prints an error message (because it knows the paths involved,
so can the most useful message), and the callers don't have to.
Diffstat (limited to 'src/resolve/resolved-dns-rr.h')
0 files changed, 0 insertions, 0 deletions