From afb6099f88bb95f47a8a54a14d59fabe1bf68876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S?= Date: Fri, 21 Jun 2019 11:13:46 +0200 Subject: [PATCH] We can use multiple packages in is_installed --- evocheck.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/evocheck.sh b/evocheck.sh index f8e8688..7fb8e8f 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -1122,10 +1122,8 @@ check_evobackup_incs() { } check_osprober() { - if is_installed os-prober; then - if is_installed qemu-kvm; then - failed "IS_OSPROBER" "Removal of os-prober package is recommended as it can cause serious issue on KVM server" - fi + if is_installed os-prober qemu-kvm; then + failed "IS_OSPROBER" "Removal of os-prober package is recommended as it can cause serious issue on KVM server" fi }