refresh_P4ROOT_from_offline_db.sh errors out if licenses expiring soon
If the license file will expire in less than $LicenseDaysExpireWarning days (set in verify_sdp.sh), the script fails with an email subject including the word ERROR and the p4d is left down. I would much rather see "WARNING" in the subject line than "ERROR", but either way the p4d should not be offline. That should not happen until the license has expired, in which case the p4d itself will refuse to run.
Another customer has hit this. Have provided the workaround of decreasing 'LicenseDaysExpireWarning' in the file '/p4/common/bin/verify_sdp.sh'.