2
0
mirror of git://github.com/lxc/lxc synced 2025-08-31 16:57:57 +00:00

start, error: improve log + non-functional changes

Improve log and comments in a bunch of places to make it easier for us on bug
reports.

Signed-off-by: Christian Brauner <christian.brauner@canonical.com>
This commit is contained in:
Christian Brauner
2016-10-29 17:27:49 +02:00
parent 4d8ac866fc
commit 408da065fb
2 changed files with 259 additions and 272 deletions

View File

@@ -46,13 +46,12 @@ extern int lxc_error_set_and_log(int pid, int status)
if (WIFEXITED(status)) {
ret = WEXITSTATUS(status);
if (ret)
INFO("child <%d> ended on error (%d)", pid, ret);
INFO("Child <%d> ended on error (%d).", pid, ret);
}
if (WIFSIGNALED(status)) {
int signal = WTERMSIG(status);
INFO("child <%d> ended on signal (%d)", pid, signal);
INFO("Child <%d> ended on signal (%d).", pid, signal);
}
return ret;

File diff suppressed because it is too large Load Diff