evolinux-base: check_hpraid.cron.sh: Fixed wrong else
All checks were successful
continuous-integration/drone/push Build is passing

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
parent a28b9558cb
commit 9a8f1979bc

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