summaryrefslogtreecommitdiff
path: root/patches/procd-openwrt-18.06/0003-docker-fix-problem-stopping-container.patch
diff options
context:
space:
mode:
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.patch3
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);