aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2019-04-29 16:34:08 +0800
committerdinoex <dinoex@FreeBSD.org>2019-04-29 16:34:08 +0800
commit029247301fb38020ffb8a6381f49995c2dfb6dea (patch)
tree6f7dd32a01118f23eef83b2e405426ca1ec376fb
parent1033f344bfb3980a7215e22c034fbf2642bb4e44 (diff)
downloadfreebsd-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.in1
-rw-r--r--security/tinc/files/tincd.in1
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()
{