e53cefdf85
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.
9 lines
119 B
Bash
Executable file
9 lines
119 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if [ "$METHOD" = loopback -o -n "$IF_TINC_NET" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
invoke-rc.d tinc alarm || exit 0
|