mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add error message on missing binary
This commit is contained in:
parent
781a27a9fd
commit
d123966f0c
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ _file_rename() {
|
|||
}
|
||||
|
||||
_binary() {
|
||||
_file "$(type -P "${1}")"
|
||||
_file "$(type -P "${1}")" || echo "${1} not found!"
|
||||
}
|
||||
|
||||
_init_rootfs() {
|
||||
|
|
Loading…
Reference in a new issue