]> git.proxmox.com Git - mirror_lxc.git/blobdiff - src/lxc/error.c
tree-wide: s/strncpy()/strlcpy()/g
[mirror_lxc.git] / src / lxc / error.c
index 81d6a376e825942fddba4958dfb82faec7643c5c..9147a6afb7dbf328994842d4095264fabcd05746 100644 (file)
@@ -52,6 +52,7 @@ extern int  lxc_error_set_and_log(int pid, int status)
        if (WIFSIGNALED(status)) {
                int signal = WTERMSIG(status);
                INFO("Child <%d> ended on signal (%d)", pid, signal);
+               ret = 128 + signal;
        }
 
        return ret;