Add zfs binary check
This commit is contained in:
parent
d10b865f23
commit
64b4a9b379
|
@ -95,6 +95,11 @@ human() {
|
|||
echo '0 seconds'
|
||||
}
|
||||
|
||||
if ! type -P zfs &>/dev/null; then
|
||||
echo "Error! zfs command not found. Are you on the right machine?"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
dryrun=false
|
||||
verbosity=0
|
||||
prefix=
|
||||
|
|
Loading…
Reference in New Issue