]> Kevux Git Server - kevux-tools/commit
Bugfix: Duplicate error messages and problems with errors when --force is passed.
authorKevin Day <Kevin@kevux.org>
Sun, 20 Jul 2025 22:24:47 +0000 (17:24 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 20 Jul 2025 22:30:44 +0000 (17:30 -0500)
commit2422486be94ae32f12e556507f96fe8bbc65022b
tree53debd60358e89fc29cf508efa436314082298ee
parent3398823c884d77644bb126d06ad1bca6f2d44ea7
Bugfix: Duplicate error messages and problems with errors when --force is passed.

Do not print duplicate error messages.
Duplicate error messages happen for directories.
The directory recursion handles errors so the caller should not need to.
This is not the case for top-level non-directories.

The `--force` parameter should prevent certain error messages from being printed.
The `--force` should also not result in an error being returned for these types of errors.
sources/c/program/kevux/tools/remove/main/operate.c