From 09b49feea6fa1c5cacbbc46c73414ca926ea0ff8 Mon Sep 17 00:00:00 2001 From: HW42 Date: Fri, 5 Aug 2016 15:44:05 +0200 Subject: [PATCH] prepare-volatile-img.sh: don't run as root This is no longer necessary since volatile.img is formated inside the VM. This also fixes DispVM creation if the user sets a restrictive umask for root. Maybe related to #2200. --- linux/aux-tools/prepare-volatile-img.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux/aux-tools/prepare-volatile-img.sh b/linux/aux-tools/prepare-volatile-img.sh index 40e22f5d..b32142b7 100755 --- a/linux/aux-tools/prepare-volatile-img.sh +++ b/linux/aux-tools/prepare-volatile-img.sh @@ -1,9 +1,5 @@ #!/bin/sh -if [ "`id -u`" != "0" ]; then - exec sudo $0 $* -fi - set -e if ! echo $PATH | grep -q sbin; then