evolinux-base: check_hpraid.cron.sh: Fixed wrong else
All checks were successful
continuous-integration/drone/push Build is passing
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:
parent
a28b9558cb
commit
9a8f1979bc
|
@ -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 a new issue