add error message on missing binary

This commit is contained in:
Tobias Powalowski 2023-11-12 16:55:34 +01:00
parent 781a27a9fd
commit d123966f0c

View file

@ -130,7 +130,7 @@ _file_rename() {
}
_binary() {
_file "$(type -P "${1}")"
_file "$(type -P "${1}")" || echo "${1} not found!"
}
_init_rootfs() {