diff options
Diffstat (limited to 'trunk/src/eclean')
| -rw-r--r-- | trunk/src/eclean/eclean | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/trunk/src/eclean/eclean b/trunk/src/eclean/eclean index 00be5e9..1c9f848 100644 --- a/trunk/src/eclean/eclean +++ b/trunk/src/eclean/eclean @@ -785,8 +785,8 @@ def main(): sys.exit(1) else: exclude_dict={} # security check for non-pretend mode - if not myoptions['pretend'] and portage.secpass != 2: - eerror("Permission denied: you must be root.", \ + if not myoptions['pretend'] and portage.secpass == 0: + eerror("Permission denied: you must be root or belong to the portage group.", \ myoptions['nocolor']) sys.exit(1) # execute action |
