From d123966f0c3ec2f4ea48693b2c200bbda3025336 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 12 Nov 2023 16:55:34 +0100 Subject: [PATCH] add error message on missing binary --- usr/lib/archboot/cpio/cpio.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/cpio/cpio.sh b/usr/lib/archboot/cpio/cpio.sh index d2f174e46..858aa2904 100644 --- a/usr/lib/archboot/cpio/cpio.sh +++ b/usr/lib/archboot/cpio/cpio.sh @@ -130,7 +130,7 @@ _file_rename() { } _binary() { - _file "$(type -P "${1}")" + _file "$(type -P "${1}")" || echo "${1} not found!" } _init_rootfs() {