We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d20284 commit 4cf2b86Copy full SHA for 4cf2b86
lib/utils.py
@@ -29,8 +29,7 @@ def run_as_root(*args, **kwargs):
29
"""A helper for run that invokes sudo when unprivileged"""
30
if os.geteuid() != 0:
31
return run("sudo", *args, **kwargs)
32
- else:
33
- return run(*args, **kwargs)
+ return run(*args, **kwargs)
34
35
def create_disk(image, disk_type, fs_type, size):
36
"""Create a disk image, with a filesystem on it"""
0 commit comments