Fixed regex typo.
This commit is contained in:
1 parent
ff6145c015
commit
388f54e148
1 file changed
+1
-1
+1
-1
@@ -51,7 +51,7 @@ def makeTerm( node, title = '', term = 'xterm' ):
|
||||
|
||||
def cleanUpScreens():
|
||||
"Remove moldy old screen sessions."
|
||||
r = r'(\d+which .[hsc]\d+)'
|
||||
r = r'(\d+\.mininet\.[hsc]\d+)'
|
||||
output = quietRun( 'screen -ls' ).split( '\n' )
|
||||
for line in output:
|
||||
m = re.search( r, line )
|
||||
|
||||
Reference in new issue
Block a user