Revert "$task rename" to "$file_name rename"

This commit is contained in:
felix.suarez 2023-06-06 09:56:16 -05:00
parent 3ed55ec88a
commit 045a773937
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ sub data_consumer ($$) {
return;
}
rename($task, $task.'_BADXML');
rename($file_name, $file_name.'_BADXML');
pandora_event ($pa_config, "Unable to process XML data file '$task'.", 0, 0, 0, 0, 0, 'error', 0, $dbh);
agent_unlock($pa_config, $agent_name);
}