Skip to content

Commit

Permalink
freebsd doesnt like umount -l
Browse files Browse the repository at this point in the history
  • Loading branch information
psy0rz committed Mar 8, 2022
1 parent 244509a commit 4873913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions zfs_autobackup/ZfsAuto.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,7 @@ def get_parser(self):
group.add_argument('--hold-format', metavar='FORMAT', default="zfs_autobackup:{}",
help='ZFS hold string format. Default: %(default)s')
group.add_argument('--strip-path', metavar='N', default=0, type=int,
help='Number of directories to strip from target path (use 1 when cloning zones between 2 '
'SmartOS machines)')
help='Number of directories to strip from target path.')

group=parser.add_argument_group("Selection options")
group.add_argument('--ignore-replicated', action='store_true', help=argparse.SUPPRESS)
Expand Down
2 changes: 1 addition & 1 deletion zfs_autobackup/ZfsDataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ def unmount(self):
self.debug("Unmounting")

cmd = [
"umount", "-l", self.name
"umount", self.name
]


Expand Down

0 comments on commit 4873913

Please sign in to comment.