From 9a8f1979bcab6bb49534bb7159bc3b5a6d266edc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20S?= Date: Fri, 26 Jun 2020 17:57:50 +0900 Subject: [PATCH] evolinux-base: check_hpraid.cron.sh: Fixed wrong else The logic was wrong, an else part was not necessary. --- evolinux-base/files/check_hpraid.cron.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/evolinux-base/files/check_hpraid.cron.sh b/evolinux-base/files/check_hpraid.cron.sh index 442b53ba..074e88a4 100644 --- a/evolinux-base/files/check_hpraid.cron.sh +++ b/evolinux-base/files/check_hpraid.cron.sh @@ -49,9 +49,6 @@ main() { cat "$check_hpraid_output" fi exit 1 - else - cp "$check_hpraid_output" $check_hpraid_last - exit 0 fi if [ ! -f $check_hpraid_last ]; then