summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/emerge b/bin/emerge
index 67113857e..4c51080fa 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -615,9 +615,9 @@ if "--debug" in myopts:
# check if root user is the current user for the actions where emerge needs this
if portage.secpass < 2:
# We've already allowed "--version" and "--help" above.
- if not myaction:
+ if not myaction and not myfiles:
help()
- sys.exit(0)
+ sys.exit(1)
if "--pretend" not in myopts and \
myaction not in ("search","info"):
if portage.secpass >= 1: