Skip to content

Commit 7f56ef6

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 98c6ce4 commit 7f56ef6

File tree

1 file changed

+3
-3
lines changed
  • risuclient/plugins/core/sysinfo/lifecycle

1 file changed

+3
-3
lines changed

risuclient/plugins/core/sysinfo/lifecycle/fedora.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ else
4545
exit ${RC_FAILED}
4646
else
4747
# Check dates for release + 2
48-
if [[ ${fedoraRD[FR + 2]} == "" ]]; then
48+
if [[ ${fedoraRD[FR+2]} == "" ]]; then
4949
# Next release is not yet defined, exit as OK
5050
exit ${RC_OKAY}
5151
else
5252
# Fedora is supported until 30 days after release of next two versions
53-
if is_date_over_today "${fedoraRD[FR + 2]}"; then
54-
if are_dates_diff_over 210 "${fedoraRD[FR + 2]}" "$(LC_ALL=C LANG=C date)"; then
53+
if is_date_over_today "${fedoraRD[FR+2]}"; then
54+
if are_dates_diff_over 210 "${fedoraRD[FR+2]}" "$(LC_ALL=C LANG=C date)"; then
5555
exit ${RC_OKAY}
5656
else
5757
echo $"Your system is within the half-year period to become unsupported" >&2

0 commit comments

Comments
 (0)