Merge pull request #8 from lehoczkics/check_zfs_binary
Add zfs binary check
This commit is contained in:
commit
2ccb235ffb
|
@ -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