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. gid = os.getgid() uid = os.getuid() logger.info("Setting up tap interface under sudo") - cmd = ('sudo', self.qemuifup, str(uid), str(gid)) + cmd = ('sudo', self.qemuifup, str(gid)) try: tap = subprocess.check_output(cmd).decode('utf-8').strip() 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 fi if [ $# -eq 2 ]; then - echo "Warning: uid parameter is ignored. It is no longer needed." + echo "Warning: uid parameter is ignored. It is no longer needed." >&2 GROUP="$2" elif [ $# -eq 1 ]; then GROUP="$1"