mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-11 09:30:02 +03:00
dracut: use standard require_binaries error message in check()
This commit is contained in:
parent
588cce3882
commit
2335a22bc7
@ -37,7 +37,7 @@ _install_tpm1x() {
|
||||
|
||||
|
||||
check() {
|
||||
command -v zfs-tpm-list > /dev/null || return 1
|
||||
require_binaries zfs-tpm-list || return
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
if [ -n "$hostonly" ]; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user