summaryrefslogtreecommitdiffstats
path: root/toolbox/rm.c
Commit message (Collapse)AuthorAgeFilesLines
* Do not exit early on errors when -f is specifiedKen Sumrall2013-06-261-4/+11
| | | | | | | | | When running with the -f option, do not stop recursion or proccessing command line args if an error occurs. Continue trying to remove all the items specified on the command line. However, still return an error status if some files could not be removed. Change-Id: I83d66babe833da8a68aad68248647ba0601c5d32
* toolbox: Fix rm -f with multiple filesBenoit Goby2013-03-251-2/+2
| | | | | | | Only check errno if unlink returns -1. Continue instead of exiting if one file does not exist. Change-Id: Iaf01b8523b84e87fcb0d732b89b7be6e24279c0b
* toolbox: implement rm -f flagTanguy Pruvot2012-05-061-13/+40
| | | | | | | | | this prevent compatibility errors in scripts (file "-f" not found) The force flag will not return an error if the file doesnt exist. Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com> Change-Id: I3267963284ee247629da5ab299e900c6e4a4ac68
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+92
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-92/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+92