diff --git a/mininet/util.py b/mininet/util.py index 4b6e628..a655f7d 100644 --- a/mininet/util.py +++ b/mininet/util.py @@ -105,7 +105,7 @@ def errRun( *cmd, **kwargs ): err += data if data == '': errDone = True - elif event & POLLHUP: + else: # POLLHUP or something unexpected if f == popen.stdout: outDone = True elif f == popen.stderr: