This commit is contained in:
Edwin Eefting 2023-08-29 15:33:49 +02:00
parent 03ff730a70
commit fd1e7d5b33
No known key found for this signature in database
GPG Key ID: 0F3C35D8E9887737

View File

@ -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))