summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vmdebootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap
index 4f8e67b..ff30853 100755
--- a/bin/vmdebootstrap
+++ b/bin/vmdebootstrap
@@ -159,9 +159,9 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth
if self.settings['dry-run']:
print "Selected packages: ", ', '.join(self.include)
sys.exit(0)
- self.start_ops()
if os.geteuid() != 0:
sys.exit("You need to have root privileges to run this script.")
+ self.start_ops()
def _image_preparations(self):
uefi = self.handlers[Uefi.name]