Skip to content

Commit 1a15961

Browse files
authored
Update zfs-migrate
1 parent d03715a commit 1a15961

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bin/zfs-migrate

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/sh
2+
set -ex
3+
24
if [ "$#" -ne 2 ]; then
35
echo "Usage:"
46
echo " $0 zpool/zvol zpool/zvol"
@@ -12,4 +14,3 @@ zfs snapshot $1@$snap
1214
zfs send $1@$snap | zfs recv $2
1315
zfs destroy $1@$snap
1416
zfs destroy $2@$snap
15-

0 commit comments

Comments
 (0)