diff options
author | Mikma <mikma@users.noreply.github.com> | 2019-09-02 15:07:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-02 15:07:36 +0200 |
commit | 9b6ba3408d6d38ea047a5a29e1a301e67c78070e (patch) | |
tree | 41f808edffb47eeba3a1cec59455473f446f58c7 /patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch | |
parent | 521c822f1dfa63ad30b7bae718aff5ac3ea63f2c (diff) | |
parent | 068f570b63541960628c6d4cbc1d00fcde09a939 (diff) |
Merge pull request #15 from rkkoszewski/bugfix-lxc-reboot
Add reboot event to allow rebooting of the container
Fixes: #14
Diffstat (limited to 'patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch')
-rw-r--r-- | patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch b/patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch index 394ac26..650165e 100644 --- a/patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch +++ b/patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch @@ -11,7 +11,7 @@ diff --git a/state.c b/state.c index ccf4104..bd59d7e 100644 --- a/state.c +++ b/state.c -@@ -157,18 +157,7 @@ static void state_enter(void) +@@ -157,18 +157,8 @@ static void state_enter(void) else LOG("- reboot -\n"); @@ -27,6 +27,7 @@ index ccf4104..bd59d7e 100644 - } - while (1) - sleep(1); ++ reboot(reboot_event); + exit(0); #else exit(0); |