From a52d8f3e5542489cc1b466c850455d21689fbfdd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 7 Apr 2006 22:44:34 +0000 Subject: [PATCH] Fix myaction logic (myaction==None is actually valid, regression from r3090). svn path=/main/trunk/; revision=3093 --- bin/emerge | 4 ++-- 1 file 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: -- 2.26.2