Fixed warn_on_root default value
This commit is contained in:
parent
0323f6cb18
commit
fcf0b0aaf2
1 changed files with 1 additions and 1 deletions
|
@ -967,7 +967,7 @@ class Buildozer(object):
|
||||||
except NameError:
|
except NameError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
warn_on_root = self.config.getdefault('buildozer', 'warn_on_root', 'yay')
|
warn_on_root = self.config.getdefault('buildozer', 'warn_on_root', '1')
|
||||||
euid = os.geteuid()
|
euid = os.geteuid()
|
||||||
if warn_on_root == '1' and euid == 0:
|
if warn_on_root == '1' and euid == 0:
|
||||||
print('\033[91m\033[1mBuildozer is running as root!\033[0m')
|
print('\033[91m\033[1mBuildozer is running as root!\033[0m')
|
||||||
|
|
Loading…
Reference in a new issue