Remove else from threshold check in release_check
The else exit 0 in the last line is superfluous since a job exits 0 by default.
- if [ $DAYS -gt $THRESHOLD ]; then exit 1; else exit 0; fi
The else exit 0 in the last line is superfluous since a job exits 0 by default.
- if [ $DAYS -gt $THRESHOLD ]; then exit 1; else exit 0; fi