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

2022-01-14 Thread Akbarkhon Variskhanov
Replaced -prune with -maxdepth 1 because -delete automatically turns on
-depth.

Reverted the second command back to its original state as -delete can't
delete directories that aren't empty.

** Patch added: "apport.patch"
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1954311/+attachment/5554429/+files/apport.patch

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

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2022-01-10 Thread Akbarkhon Variskhanov
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954311

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2021-12-09 Thread Ubuntu Foundations Team Bug Bot
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1954311

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

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs