]> git.ipfire.org Git - network.git/commitdiff
bridge-stp: Fix executing mstpctl.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 10 Jun 2012 19:27:15 +0000 (19:27 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 10 Jun 2012 19:27:15 +0000 (19:27 +0000)
Also show an error message when there has been an error.

bridge-stp

index 85c25316b96a40ac9c2263768ca6c74639ddacf2..c79af4383e98560c1dd43cf7849b73104b8a01f8 100755 (executable)
@@ -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