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:
parent
d7b49da4e6
commit
e53cefdf85
4 changed files with 22 additions and 5 deletions
4
debian/tinc.if-pre-up
vendored
4
debian/tinc.if-pre-up
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue