]> git.proxmox.com Git - mirror_lxc.git/commit
tools: Indicate container startup failure
authorTobin C. Harding <me@tobin.cc>
Fri, 17 Aug 2018 06:49:46 +0000 (16:49 +1000)
committerTobin C. Harding <me@tobin.cc>
Sun, 19 Aug 2018 23:00:14 +0000 (09:00 +1000)
commite3e70db364505a5f9e7eb5aa922f636300d3a0d1
treeb92034a9e8f3f5c2ea08e73c561566659cbb5b96
parent89a9f3933b9464f8daa675ee0e8fcd8e44e245f9
tools: Indicate container startup failure

When running lxc-autostart we do not currently indicate failure to start
containers, either partial failure i.e. some of the containers failed to
start or total failure i.e. all of the containers failed to start.

Indicate container startup failure.  For total failure exit(1), for
partial failure exit(2).

Signed-off-by: Tobin C. Harding <me@tobin.cc>
src/lxc/tools/lxc_autostart.c