summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 672a8d2..3776449 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -26,6 +26,8 @@ case "$1" in
for f in /run/sendsigs.omit.d/openvpn.*.pid; do
[ -e "$f" ] && continue
b="$(basename $f|sed 's/openvpn\.//')"
+ # make sure is a vpn name, not *.pid (#730679)
+ echo "$b" | grep -q '\*' && continue
ln -sf "/run/openvpn/$b" "/run/sendsigs.omit.d/openvpn.$b"
done
;;