mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
analyze: update log message
This commit is contained in:
@@ -179,9 +179,9 @@ static int verify_documentation(Unit *u, bool check_man) {
|
||||
k = show_man_page(*p + 4, true);
|
||||
if (k != 0) {
|
||||
if (k < 0)
|
||||
log_unit_error_errno(u, r, "Can't show %s: %m", *p);
|
||||
log_unit_error_errno(u, k, "Can't show %s: %m", *p + 4);
|
||||
else {
|
||||
log_unit_error_errno(u, r, "man %s command failed with code %d", *p + 4, k);
|
||||
log_unit_error(u, "Command 'man %s' failed with code %d", *p + 4, k);
|
||||
k = -ENOEXEC;
|
||||
}
|
||||
if (r == 0)
|
||||
|
||||
Reference in New Issue
Block a user