diff options
author | dinoex <dinoex@FreeBSD.org> | 2019-04-29 16:34:08 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2019-04-29 16:34:08 +0800 |
commit | 029247301fb38020ffb8a6381f49995c2dfb6dea (patch) | |
tree | 6f7dd32a01118f23eef83b2e405426ca1ec376fb | |
parent | 1033f344bfb3980a7215e22c034fbf2642bb4e44 (diff) | |
download | freebsd-ports-gnome-029247301fb38020ffb8a6381f49995c2dfb6dea.tar.gz freebsd-ports-gnome-029247301fb38020ffb8a6381f49995c2dfb6dea.tar.zst freebsd-ports-gnome-029247301fb38020ffb8a6381f49995c2dfb6dea.zip |
- fix restart when shutdown is slow
PR: 228357
Reported by: CUI Hao
-rw-r--r-- | security/tinc-devel/files/tincd.in | 1 | ||||
-rw-r--r-- | security/tinc/files/tincd.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/security/tinc-devel/files/tincd.in b/security/tinc-devel/files/tincd.in index 8ada85c631cc..e79b688d8f91 100644 --- a/security/tinc-devel/files/tincd.in +++ b/security/tinc-devel/files/tincd.in @@ -69,6 +69,7 @@ tincd_stop() $command -n $cfg stop done fi + wait_for_pids $rc_pid } tincd_reload() { diff --git a/security/tinc/files/tincd.in b/security/tinc/files/tincd.in index b87b61da9609..bdcebae185f4 100644 --- a/security/tinc/files/tincd.in +++ b/security/tinc/files/tincd.in @@ -69,6 +69,7 @@ tincd_stop() $command -n $cfg -k done fi + wait_for_pids $rc_pid } tincd_reload() { |