mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-04-13 22:47:12 +03:00
suppress exclude recieved warning when its already specified. #101
This commit is contained in:
parent
609ad19dd9
commit
a8b43c286f
@ -82,8 +82,9 @@ class ZfsAuto(object):
|
||||
self.verbose("NOTE: Source and target are on the same host, excluding target-path from selection.")
|
||||
self.exclude_paths.append(args.target_path)
|
||||
else:
|
||||
self.verbose("NOTE: Source and target are on the same host, excluding received datasets from selection.")
|
||||
args.exclude_received = True
|
||||
if not args.exclude_received:
|
||||
self.verbose("NOTE: Source and target are on the same host, adding --exclude-received to commandline.")
|
||||
args.exclude_received = True
|
||||
|
||||
if args.test:
|
||||
self.warning("TEST MODE - SIMULATING WITHOUT MAKING ANY CHANGES")
|
||||
|
Loading…
x
Reference in New Issue
Block a user