mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-06-12 23:02:07 +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() {
|
check() {
|
||||||
command -v zfs-tpm-list > /dev/null || return 1
|
require_binaries zfs-tpm-list || return
|
||||||
|
|
||||||
# shellcheck disable=SC2154
|
# shellcheck disable=SC2154
|
||||||
if [ -n "$hostonly" ]; then
|
if [ -n "$hostonly" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user