evolinux-base: check_hpraid.cron.sh: Fixed wrong else

The logic was wrong, an else part was not necessary.
This commit is contained in:
Benoît S. 2020-06-26 17:57:50 +09:00 committed by Gitea
parent fe1756d22a
commit fd57b17980
1 changed files with 0 additions and 3 deletions

View File

@ -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