Przeglądaj źródła

Fix error in borgmatic rcreate/init on empty repository directory with Borg 1.4 (#896).

Dan Helfman 1 rok temu
rodzic
commit
31778fd3bf
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 0
      NEWS
  2. 1 1
      borgmatic/borg/rcreate.py

+ 1 - 0
NEWS

@@ -1,4 +1,5 @@
 1.8.14.dev0
+ * #896: Fix error in borgmatic rcreate/init on empty repository directory with Borg 1.4.
  * Add a recent contributors section to the documentation, because credit where credit's due! See:
    https://torsion.org/borgmatic/#recent-contributors
 

+ 1 - 1
borgmatic/borg/rcreate.py

@@ -9,7 +9,7 @@ from borgmatic.execute import DO_NOT_CAPTURE, execute_command
 logger = logging.getLogger(__name__)
 
 
-RINFO_REPOSITORY_NOT_FOUND_EXIT_CODES = {2, 13}
+RINFO_REPOSITORY_NOT_FOUND_EXIT_CODES = {2, 13, 15}
 
 
 def create_repository(