diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index fe4459dfb8..ad88da38df 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -923,7 +923,7 @@ class BaseConfig(object): | |||
923 | logger.debug('Running %s...' % cmd) | 923 | logger.debug('Running %s...' % cmd) |
924 | ip_link = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE).stdout.read().decode('utf-8') | 924 | ip_link = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE).stdout.read().decode('utf-8') |
925 | # Matches line like: 6: tap0: <foo> | 925 | # Matches line like: 6: tap0: <foo> |
926 | possibles = re.findall('^[1-9]+: +(tap[0-9]+): <.*', ip_link, re.M) | 926 | possibles = re.findall('^[0-9]+: +(tap[0-9]+): <.*', ip_link, re.M) |
927 | tap = "" | 927 | tap = "" |
928 | for p in possibles: | 928 | for p in possibles: |
929 | lockfile = os.path.join(lockdir, p) | 929 | lockfile = os.path.join(lockdir, p) |