]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
set exit status to 1 in the unknown si_code case 2094/head
authorTycho Andersen <tycho@tycho.ws>
Fri, 19 Jan 2018 04:23:48 +0000 (04:23 +0000)
committerTycho Andersen <tycho@tycho.ws>
Fri, 19 Jan 2018 04:23:48 +0000 (04:23 +0000)
Signed-off-by: Tycho Andersen <tycho@tycho.ws>
src/lxc/start.c

index bd97545ecf471b5f156b3cd2579977a0065bcd34..41442a162d14f4dec4c6412167b54fd156c79bff 100644 (file)
@@ -341,6 +341,7 @@ static int signal_handler(int fd, uint32_t events, void *data,
                        break;
                default:
                        ERROR("Unknown si_code: %d", hdlr->init_died);
+                       hdlr->exit_status = 1;
                }
        }