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