]> git.gsnw.org Git - raspbmirror.git/commitdiff
Merge github 87db5fa (Fix codepath for copying file from sourcepool.)
authorGerman Service Network <support@gsnw.de>
Sun, 19 Jul 2020 08:31:52 +0000 (10:31 +0200)
committerGerman Service Network <support@gsnw.de>
Sun, 19 Jul 2020 08:31:52 +0000 (10:31 +0200)
raspbmirror.py

index 9e4ec69a1cada0493040ec61e38a928fe64bb0dc..c7d685b5b28f40a5ed1b6517c3cbc9d0860c751c 100644 (file)
@@ -199,6 +199,7 @@ def getfile(path,sha256,size):
 
                                        except:
                                                logging.info('file in souce pool was good but hard linking failed, copying file instead')
+                                               break
                                        fdownloads.write(outputpath+b'\n')
                                        fdownloads.flush()
                                        return