ccztux/glsysbackup

Error: /usr/local/glsysbackup/bin/glsysbackup: line 1497: [: : integer expression expected

Closed this issue · 0 comments

Example output:

.
.
[snip]
.
.
022-10-21 12:22:45 |   3380 |                  rotateHandler | Check if today is the day, where weekly backups should be rotated...
2022-10-21 12:22:45 |   3380 |                  rotateHandler | Today is not the day, where we should rotate the weekly backups (actual_weekday: '5' != backup_rotation_weekly_weekday: '1').
2022-10-21 12:22:45 |   3380 |                  rotateHandler | Check if today is the day, where monthly backups should be rotated...
/usr/local/glsysbackup/bin/glsysbackup: line 1497: [: : integer expression expected
2022-10-21 12:22:45 |   3380 |                  rotateHandler | Today is not the day, where we should rotate the monthly backups (actual_day_of_month: '21' != backup_rotation_monthly_day_of_month: '1').
2022-10-21 12:22:45 |   3380 |                      checkLock | Check if lock file: '/usr/local/glsysbackup/var/lock/glsysbackup.glsysbackup.lock' exists and if it is read and writeable...
2022-10-21 12:22:45 |   3380 |                      checkLock | Lock file exists and it is read/writeable.
2022-10-21 12:22:45 |   3380 |                     removeLock | Removing lock...
2022-10-21 12:22:47 |   3380 |                     removeLock | Removing lock was successful.
2022-10-21 12:22:47 |   3380 |                  signalHandler | We did a great job. :)
2022-10-21 12:22:47 |   3380 |                  signalHandler | glsysbackup (2.0.0-beta4) was running: '219' seconds, script_exit_code: '0'.
2022-10-21 12:22:47 |   3380 |                  signalHandler | Bye, bye...