mirror of
https://github.com/bashclub/bashclub-zfs-push-pull.git
synced 2024-11-07 21:01:58 +01:00
Update bashclub-zfs
This commit is contained in:
parent
3f681bce20
commit
6830ddf05f
@ -63,6 +63,8 @@ ZFS() {
|
||||
fi
|
||||
}
|
||||
|
||||
(
|
||||
flock -n 9 || exit 1
|
||||
###
|
||||
### defaults
|
||||
###
|
||||
@ -276,3 +278,5 @@ for snap in $(ZFS "$srchost" list -d 1 -t snapshot -H -S creation -o name $srcfs
|
||||
do
|
||||
ZFS "$srchost" destroy -r $srcfs@$snap
|
||||
done
|
||||
|
||||
) 9>/var/lock/bashclub-zfs.lock
|
||||
|
Loading…
Reference in New Issue
Block a user