mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 00:04:14 -05:00
do only unlink the file if we could indeed overwrite the file. Old behaviour: rm -P /tmp/foo (foo mode 0444) would NOT overwrite foo, but still delete it (with a warning: rm: foo: Permission denied) New behaviour: Just the EPERM warning, but no deletion Reviewed by: bde |
||
|---|---|---|
| .. | ||
| Makefile | ||
| rm.1 | ||
| rm.c | ||