From: Michael Tremer Date: Sun, 10 Jun 2012 19:27:15 +0000 (+0000) Subject: bridge-stp: Fix executing mstpctl. X-Git-Tag: 004~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a955a84f1103a7e1d8919fd5eb321df9ad7ef643;p=network.git bridge-stp: Fix executing mstpctl. Also show an error message when there has been an error. --- diff --git a/bridge-stp b/bridge-stp index 85c25316..c79af438 100755 --- a/bridge-stp +++ b/bridge-stp @@ -24,6 +24,8 @@ LOG_FACILITY=$(basename ${0}) . /usr/lib/network/functions +export PATH="/usr/sbin:/sbin:/usr/bin:/bin" + zone=${1} action=${2} @@ -61,3 +63,6 @@ case "${action}" in exit 1 ;; esac + +log ERROR "Could not properly exec mstpctl." +exit 1