evolinux-base: check_hpraid.cron.sh: Fixed wrong else
The logic was wrong, an else part was not necessary.
This commit is contained in:
parent
fe1756d22a
commit
fd57b17980
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue