Quellcode durchsuchen

Backing out a ZFS change that hasn't been confirmed working quite yet.

Dan Helfman vor 3 Monaten
Ursprung
Commit
8854b9ad20
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      borgmatic/hooks/data_source/zfs.py

+ 1 - 1
borgmatic/hooks/data_source/zfs.py

@@ -420,7 +420,7 @@ def remove_data_source_dumps(hook_config, config, borgmatic_runtime_directory, d
                     continue
                     continue
 
 
         if not dry_run:
         if not dry_run:
-            shutil.rmtree(snapshots_directory, ignore_errors=True)
+            shutil.rmtree(snapshots_directory)
 
 
     # Destroy snapshots.
     # Destroy snapshots.
     full_snapshot_names = get_all_snapshots(zfs_command)
     full_snapshot_names = get_all_snapshots(zfs_command)