diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/runqemu | 2 | ||||
| -rwxr-xr-x | scripts/runqemu-ifup | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 3f187ca793..6a3fbb2d6f 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -1186,7 +1186,7 @@ to your build configuration. | |||
| 1186 | gid = os.getgid() | 1186 | gid = os.getgid() |
| 1187 | uid = os.getuid() | 1187 | uid = os.getuid() |
| 1188 | logger.info("Setting up tap interface under sudo") | 1188 | logger.info("Setting up tap interface under sudo") |
| 1189 | cmd = ('sudo', self.qemuifup, str(uid), str(gid)) | 1189 | cmd = ('sudo', self.qemuifup, str(gid)) |
| 1190 | try: | 1190 | try: |
| 1191 | tap = subprocess.check_output(cmd).decode('utf-8').strip() | 1191 | tap = subprocess.check_output(cmd).decode('utf-8').strip() |
| 1192 | except subprocess.CalledProcessError as e: | 1192 | except subprocess.CalledProcessError as e: |
diff --git a/scripts/runqemu-ifup b/scripts/runqemu-ifup index c65ceaf1c8..05c9325b6b 100755 --- a/scripts/runqemu-ifup +++ b/scripts/runqemu-ifup | |||
| @@ -30,7 +30,7 @@ if [ $EUID -ne 0 ]; then | |||
| 30 | fi | 30 | fi |
| 31 | 31 | ||
| 32 | if [ $# -eq 2 ]; then | 32 | if [ $# -eq 2 ]; then |
| 33 | echo "Warning: uid parameter is ignored. It is no longer needed." | 33 | echo "Warning: uid parameter is ignored. It is no longer needed." >&2 |
| 34 | GROUP="$2" | 34 | GROUP="$2" |
| 35 | elif [ $# -eq 1 ]; then | 35 | elif [ $# -eq 1 ]; then |
| 36 | GROUP="$1" | 36 | GROUP="$1" |
