[Bug 1954311] Re: Daily cron job script unnecessarily executes `find` with `rm` instead of using its '-delete' action

Ubuntu Foundations Team Bug Bot 1954311 at bugs.launchpad.net
Thu Dec 9 20:26:28 UTC 2021


The attachment "apport.patch" seems to be a patch.  If it isn't, please
remove the "patch" flag from the attachment, remove the "patch" tag, and
if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1954311

Title:
  Daily cron job script unnecessarily executes `find` with `rm` instead
  of using its '-delete' action

Status in apport package in Ubuntu:
  New

Bug description:
  Executing `rm` as a separate process each time for every single file
  is unnecessary and inefficient. The option '-delete' should be used
  instead.

  Patch is included below.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1954311/+subscriptions




More information about the foundations-bugs mailing list