From 1cd2b0d30793bed80eacca9b32f3e874adfe062c Mon Sep 17 00:00:00 2001 From: Nicolas MORIN Date: Fri, 5 Jan 2024 15:49:54 +0100 Subject: [PATCH] =?UTF-8?q?Modification=20de=20la=20v=C3=A9rification=20du?= =?UTF-8?q?=20fichier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qemu-adm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:]')")