Fix #730679

parent 1b8e7537
openvpn (2.3.2-7) unstable; urgency=low
* Fix postinst when no *.pid files exist in /run/sendsigs.omit.d/.
(Closes: #730679)
-- Alberto Gonzalez Iniesta <agi@inittab.org> Thu, 28 Nov 2013 13:05:31 +0100
openvpn (2.3.2-6) unstable; urgency=low
* Move PID and status files to openvpn subdir in /run.
......
......@@ -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
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment