[Bug 1954311] Re: Daily cron job script unnecessarily executes `find` with `rm` instead of using its '-delete' action
Akbarkhon Variskhanov
1954311 at bugs.launchpad.net
Mon Jan 10 17:20:24 UTC 2022
Also removed -prune primary as it conflicted with -depth, which is
automatically turned on by -delete.
** Patch added: "removed_prune_primary.patch"
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1954311/+attachment/5553122/+files/removed_prune_primary.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