diff --git a/qemu-adm b/qemu-adm index cbae450..60bee3e 100755 --- a/qemu-adm +++ b/qemu-adm @@ -137,7 +137,7 @@ creeMV() if [[ ${temoin_b} -ne 1 ]]; then case ${1} in "ovmf"|"OVMF") - if [[ ! $(ls /usr/share/ovmf/OVMF.fd 2>/dev/null) ]]; then + if [[ ! -f "/usr/share/ovmf/OVMF.fd" ]]; then die "Le paquet ovmf n'est pas installé." 6 fi commandes_a_executer+=( "nouvMV bios $(echo ${1} | tr '[:lower:]' '[:upper:]')")