[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.45-35-g3633050

Andreas Beckmann debian at abeckmann.de
Wed Jun 27 20:04:01 UTC 2012


The following commit has been merged in the develop branch:
commit 3633050b081a4eb23623240b01e440e5245720aa
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Wed Jun 27 01:24:33 2012 +0200

    p-m: exit with 0 if busy
    
    otherwise the '&& rm $logfile.$$' that's added by the slave
    does not cleanup the empty stderr logfile
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts-master.py b/piuparts-master.py
index 9ebae6a..d56ca67 100644
--- a/piuparts-master.py
+++ b/piuparts-master.py
@@ -232,7 +232,7 @@ def main():
             fcntl.flock(lock, fcntl.LOCK_EX | fcntl.LOCK_NB)
         except IOError:
             print 'busy'
-            sys.exit(1)
+            sys.exit(0)
 
         logging.info("Fetching %s" % config.get_packages_url())
         packages_file = piupartslib.open_packages_url(config.get_packages_url())

-- 
piuparts git repository



More information about the Piuparts-commits mailing list