fixes issue with daemon command

This commit is contained in:
Quentin De Coninck 2020-07-03 16:50:10 +02:00
parent 8f1739920f
commit ef509e87a3

View File

@ -114,7 +114,7 @@ class LinkCharacteristics(object):
def build_changing_policing_cmd(self, ifname): def build_changing_policing_cmd(self, ifname):
return "&& ".join( return "&& ".join(
["sleep {} && {} ".format( ["sleep {} && ({}) ".format(
n.delta, self.build_policing_cmd(ifname, change=True)) for n in self.netem_at] n.delta, self.build_policing_cmd(ifname, change=True)) for n in self.netem_at]
+ ["true &"] + ["true &"]
) )