From: Zac Medico Date: Fri, 8 Feb 2008 00:12:37 +0000 (-0000) Subject: Bug #209144 - For emerge --sync, don't return 0 when the server X-Git-Tag: v2.2_pre1~16 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4c251002c391d44d89524b1883e9945881beb310;p=portage.git Bug #209144 - For emerge --sync, don't return 0 when the server is out of date. svn path=/main/trunk/; revision=9283 --- 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]