forked from third-party-mirrors/zfs_autobackup
fix
This commit is contained in:
parent
03ff730a70
commit
fd1e7d5b33
@ -6,7 +6,6 @@ from .ZfsAuto import ZfsAuto
|
||||
from .ZfsNode import ZfsNode
|
||||
import sys
|
||||
|
||||
raise("need to be rewritten to use zfs-check")
|
||||
|
||||
# # try to be as unix compatible as possible, while still having decent performance
|
||||
# def compare_trees_find(source_node, source_path, target_node, target_path):
|
||||
@ -307,6 +306,7 @@ class ZfsAutoverify(ZfsAuto):
|
||||
def cli():
|
||||
import sys
|
||||
|
||||
raise(Exception("This program is incomplete, dont use it yet."))
|
||||
signal(SIGPIPE, sigpipe_handler)
|
||||
failed = ZfsAutoverify(sys.argv[1:], False).run()
|
||||
sys.exit(min(failed,255))
|
||||
|
Loading…
x
Reference in New Issue
Block a user