Bug #209144 - For emerge --sync, don't return 0 when the server
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Feb 2008 00:12:37 +0000 (00:12 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Feb 2008 00:12:37 +0000 (00:12 -0000)
is out of date.

svn path=/main/trunk/; revision=9283

pym/_emerge/__init__.py

index 31abe5154865b31753dbf249f4aa894efd2a6e16..c76a6dbfce48c5dafde6733667afb0c971c01525 100644 (file)
@@ -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]