Revision a5af91d0 mininet/util.py

View differences:

mininet/util.py
102 102
    "Run a command using errRun and raise exception on nonzero exit"
103 103
    out, err, ret = errRun( *cmd, **kwargs )
104 104
    if ret:
105
        raise Exception( "errFail: failed with return code %s"
106
                         % ret )
105
        raise Exception( "errFail: %s failed with return code %s: %s"
106
                         % ( cmd, ret, err ) )
107 107
    return out, err, ret
108 108

  
109 109
def quietRun( cmd, **kwargs ):

Also available in: Unified diff