diff options
author | Leah Neukirchen <leah@vuxu.org> | 2023-12-25 02:47:24 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2023-12-25 02:47:24 +0100 |
commit | 2a27cbf8681e03642e974add4bb98f97e547bd67 (patch) | |
tree | df08940a3738de3df7c90ece68e6cc2ed67f7815 /nitro.c | |
parent | d8412bf0b2ead0fdcc32815362463c577e0b8c0e (diff) | |
download | nitro-2a27cbf8681e03642e974add4bb98f97e547bd67.tar.gz nitro-2a27cbf8681e03642e974add4bb98f97e547bd67.tar.xz nitro-2a27cbf8681e03642e974add4bb98f97e547bd67.zip |
don't bother trying to reboot in a container, exiting works just fine
Diffstat (limited to 'nitro.c')
-rw-r--r-- | nitro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nitro.c b/nitro.c index ad437a8..b2862b7 100644 --- a/nitro.c +++ b/nitro.c @@ -1355,7 +1355,7 @@ main(int argc, char *argv[]) } #ifdef __linux__ - if (pid1) { + if (real_pid1) { dprintf(2, "- nitro: system %s\n", global_state == GLBL_WANT_REBOOT ? "reboot" : "halt"); |