summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-08 00:12:37 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-08 00:12:37 +0000
commit4c251002c391d44d89524b1883e9945881beb310 (patch)
treee7947dce523c03e639f81a41dd796cda30a004b4
parent5b1097cb11fb1c835e46bf778c927ac29d6ce88b (diff)
downloadportage-4c251002c391d44d89524b1883e9945881beb310.tar.gz
portage-4c251002c391d44d89524b1883e9945881beb310.tar.bz2
portage-4c251002c391d44d89524b1883e9945881beb310.zip
Bug #209144 - For emerge --sync, don't return 0 when the server
is out of date. svn path=/main/trunk/; revision=9283
-rw-r--r--pym/_emerge/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 31abe5154..c76a6dbfc 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -5624,6 +5624,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]