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

View File

@ -324,7 +324,7 @@ sub data_consumer ($$) {
return; 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); 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); agent_unlock($pa_config, $agent_name);
} }