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

svn path=/main/branches/2.1.2/; revision=9284

bin/emerge

index 818a3703045a03fc11501e5bcccfa4d4ab74bebf..beb9fb61467b553f7c268d921c1496990860c5ca 100755 (executable)
@@ -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]