Skip to content

Commit

Permalink
Version 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
makhomed committed Jan 2, 2025
1 parent 14cfa09 commit 1d68375
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
========================
autosnap (version 2.2.0)
autosnap (version 2.3.0)
========================

ZFS snapshot automation tool
Expand Down
10 changes: 5 additions & 5 deletions autosnap
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import re
import subprocess
import sys

__author__ = "Gena Makhomed"
__contact__ = "https://github.com/makhomed/autosnap"
__license__ = "GNU General Public License version 3"
__version__ = "2.2.0"
__license__ = 'GNU General Public License v3.0 or later'
__contact__ = 'https://github.com/makhomed/autosnap'
__version__ = '2.3.0'


ZFS_BINARY_FILENAME = '/usr/sbin/zfs'
AUTOSNAP_CONFIG_FILENAME = '/opt/autosnap/autosnap.conf'
Expand Down Expand Up @@ -158,7 +158,7 @@ class SnapMan:
@staticmethod
def delete_snapshot(snapshot_name):
assert '@' in snapshot_name
process = Process(ZFS_BINARY_FILENAME, "destroy", snapshot_name)
process = Process(ZFS_BINARY_FILENAME, "destroy", "-d", snapshot_name)
if process.failed():
print("can't delete ZFS snapshot '%s'" % snapshot_name)
process.print_info("error")
Expand Down

0 comments on commit 1d68375

Please sign in to comment.