[v2,07/15] QoS: Suppress an error message when cleaning up from previous runs

Message ID 20191021184539.12758-7-michael.tremer@ipfire.org
State New
Headers show
Series
  • Untitled series #896
Related show

Commit Message

Michael Tremer Oct. 21, 2019, 6:45 p.m. UTC
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Daniel Weismüller <daniel.weismueller@ipfire.org>
---
 config/qos/makeqosscripts.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/config/qos/makeqosscripts.pl b/config/qos/makeqosscripts.pl
index 70c1c13a1..da298ace3 100644
--- a/config/qos/makeqosscripts.pl
+++ b/config/qos/makeqosscripts.pl
@@ -406,7 +406,7 @@  print <<END
 	### $qossettings{'IMQ_DEV'}
 	###
 
-	tc qdisc del dev $qossettings{'RED_DEV'} ingress
+	tc qdisc del dev $qossettings{'RED_DEV'} ingress >/dev/null 2>&1
 	tc qdisc add dev $qossettings{'RED_DEV'} handle ffff: ingress
 
 	### BRING UP $qossettings{'IMQ_DEV'}