Commit fc9b0359 authored by Kevin Duret's avatar Kevin Duret
Browse files

fix(upgrade): properly check if cfg_nagios.logger_version column exists (#11100)

Refs: MON-13287
parent 626e9bff
......@@ -129,7 +129,7 @@ try {
DROP COLUMN `daemon_dumps_core`"
);
}
if ($pearDB->isColumnExist('cfg_nagios', 'logger_version') === 1) {
if ($pearDB->isColumnExist('cfg_nagios', 'logger_version') !== 1) {
$errorMessage = "Unable to add logger_version to cfg_nagios table";
$pearDB->query(
"ALTER TABLE `cfg_nagios`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment