kaelzhang / shell-safe-rm

😎 Safe-rm: A drop-in and much safer replacement of bash rm with nearly full functionalities and options of the rm command! Safe-rm will act exactly the same as the original rm command.
Other
428 stars 33 forks source link

Return code inconsistant with original rm with -f options. #22

Open dai-pch opened 4 years ago

dai-pch commented 4 years ago

Original rm will return 0 with '-f' options if it does not found target files, while the shell-safe-rm returns 1. This inconsistancy will cause some software (e.g. qemu) fail to compile. Hope the author can fix this.