summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu2
-rwxr-xr-xscripts/runqemu-ifup2
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
30fi 30fi
31 31
32if [ $# -eq 2 ]; then 32if [ $# -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"
35elif [ $# -eq 1 ]; then 35elif [ $# -eq 1 ]; then
36 GROUP="$1" 36 GROUP="$1"