diff options
author | Michal Schmidt <mschmidt@redhat.com> | 2011-11-17 00:21:16 +0100 |
---|---|---|
committer | Michal Schmidt <mschmidt@redhat.com> | 2011-11-17 01:36:11 +0100 |
commit | 4c2630ebf23b6348174f0bdf1110e90efe45259c (patch) | |
tree | c4f6f05327aadffdbb49314492309cac031ac391 /src/exit-status.c | |
parent | 9ba353983adc026b75a503c1381f6e5c8062f3e0 (diff) |
execute: log errors from "sd(EXEC)"
To give the administrator more hints about failures occuring in spawning
of commands than just the exit code, log the strerror.
All fds are closed, so reopen the log.
Related-to: https://bugzilla.redhat.com/show_bug.cgi?id=752901
Diffstat (limited to 'src/exit-status.c')
-rw-r--r-- | src/exit-status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exit-status.c b/src/exit-status.c index 8ed1a0e362..ab8907d32c 100644 --- a/src/exit-status.c +++ b/src/exit-status.c @@ -119,6 +119,9 @@ const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) { case EXIT_NETWORK: return "NETWORK"; + + case EXIT_NAMESPACE: + return "NAMESPACE"; } } |