summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-08 00:14:04 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-08 00:14:04 +0000
commitf92603f0fdfe08baf2d4a253fe0d79cf3cb1da27 (patch)
tree5a6c22f3e7d6d4ef5b8a16100d833732270d23cb
parentBug #155993 - Update environment.bz2 after postinst in case (diff)
downloadportage-multirepo-f92603f0fdfe08baf2d4a253fe0d79cf3cb1da27.tar.gz
portage-multirepo-f92603f0fdfe08baf2d4a253fe0d79cf3cb1da27.tar.bz2
portage-multirepo-f92603f0fdfe08baf2d4a253fe0d79cf3cb1da27.zip
Bug #209144 - For emerge --sync, don't return 0 when the server
is out of date. (trunk r9283) svn path=/main/branches/2.1.2/; revision=9284
-rwxr-xr-xbin/emerge1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 818a3703..beb9fb61 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -5172,6 +5172,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
print ">>> In order to force sync, remove '%s'." % servertimestampfile
print ">>>"
print
+ exitcode = 1
elif (servertimestamp == 0) or (servertimestamp > mytimestamp):
# actual sync
mycommand = rsynccommand + [dosyncuri+"/", myportdir]