From d051977240ac2371346d2d9417cf41ffca92089c Mon Sep 17 00:00:00 2001 From: Jason Stubbs Date: Sat, 17 Dec 2005 02:14:56 +0000 Subject: [PATCH] Fail if not running as root and --resume is attempted. Patch by Alec Warner (antarus). #114550 svn path=/main/trunk/; revision=2382 --- bin/emerge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/emerge b/bin/emerge index 4c1db1943..f0ea1bafe 100755 --- a/bin/emerge +++ b/bin/emerge @@ -627,7 +627,7 @@ elif "--help" in myopts: elif portage.secpass!=2: if myaction in ["search", "info", "regen", "metadata"]: pass - elif (not myaction) and (not myfiles): + elif not myaction and not myfiles and "--resume" not in myopts: pass elif ("--pretend" in myopts) and (myaction in ["world","system","clean","prune","unmerge"]): pass -- 2.26.2