diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-29 16:17:01 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2010-03-29 16:17:01 -0700 |
commit | e110a69d6217a6a9fa7bc87bb7ff2a60cda152fa (patch) | |
tree | e59f5e4c562d7e48c98bb4babc802dec6c6433e5 | |
parent | 0206c89457f20b1e98ce70d6f5023d15461a00a9 (diff) | |
download | vyatta-cfg-qos-e110a69d6217a6a9fa7bc87bb7ff2a60cda152fa.tar.gz vyatta-cfg-qos-e110a69d6217a6a9fa7bc87bb7ff2a60cda152fa.zip |
Check return value from IFB correctly.
-rwxr-xr-x | scripts/vyatta-qos.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl index e5ea69a..6fc38dc 100755 --- a/scripts/vyatta-qos.pl +++ b/scripts/vyatta-qos.pl @@ -179,7 +179,7 @@ sub update_interface { system("sudo ip link add dev $ifb type ifb") == 0 or die "Can't create $ifb: $!"; - system("sudo ip link set dev $ifb up") + system("sudo ip link set dev $ifb up") == 0 or die "Can't bring $ifb up: $!"; print "qdisc add dev $device ingress\n"; |