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.
This commit is contained in:
HW42 2016-08-05 15:44:05 +02:00 committed by Marek Marczykowski-Górecki
parent 0968c25486
commit 09b49feea6
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1,9 +1,5 @@
#!/bin/sh
if [ "`id -u`" != "0" ]; then
exec sudo $0 $*
fi
set -e
if ! echo $PATH | grep -q sbin; then