Import Debian changes 1.0.23-2

tinc (1.0.23-2) unstable; urgency=low

  * Use if-statements instead of && in shell scripts. Closes: #731279
    The && operator does not clear the error status, and if the next statement
    in a shell script does not change the error status it would cause the
    script to prematurely exit. Thanks to Peter Reinholdtsen for spotting it.
  * Use absolute path to tincd in the if-post-down script.
This commit is contained in:
Guus Sliepen 2013-12-05 09:41:13 +00:00
parent d7b49da4e6
commit e53cefdf85
4 changed files with 22 additions and 5 deletions

View file

@ -2,7 +2,9 @@
set -e
[ -z "$IF_TINC_NET" ] && exit 0
if [ -z "$IF_TINC_NET" ]; then
exit 0
fi
# Read options from /etc/default