Commit 9cd73568 authored by David Johnson's avatar David Johnson

Avoid a spurious "error" in Linux delaysetup.

parent fcc80cee
#!/usr/bin/perl -wT
#
# Copyright (c) 2000-2013, 2016 University of Utah and the Flux Group.
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -376,7 +376,8 @@ sub LinkDelaySetup()
# packet loss in netem is percent
$plr *= 100;
print DEL "ifconfig $iface txqueuelen $queue\n";
print DEL "ifconfig $iface txqueuelen $queue\n"
if ($queue);
print DEL "$TC qdisc del dev $iface root\n";
print DEL "$TC qdisc del dev $iface ingress\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment