add root checking
git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@350 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -1138,7 +1138,7 @@ def installPackages(packages, autoDrive = False):
|
||||
# check if I am root
|
||||
if (not checkRoot()):
|
||||
print_error(red("\t You must run this function as root."))
|
||||
return 1
|
||||
return 1,-1
|
||||
|
||||
foundAtoms = []
|
||||
for package in packages:
|
||||
|
||||
Reference in New Issue
Block a user