Fix pbm-agent crash during the delete-pitr request execution if there is nothing to delete

Description

When trying to delete backups older than X days, I would like to just call `pbm delete-pitr -f --older-than X`. If there is nothing to delete, I would expect `pbm-agent` to take no action. What appears to happen is that `pbm-agent` crashes:

Setup:

 

 

`pbm` request:

 

 

 

However, `pbm-agent` does:

Environment

CentOS 7 using RPM installation

Smart Checklist

Activity

andrew.pogrebnoi September 13, 2021 at 8:57 AM

 thanks for the reporting.

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Smart Checklist

Created September 9, 2021 at 2:54 PM
Updated March 5, 2024 at 7:01 PM
Resolved October 1, 2021 at 7:51 AM