]> git.tue.mpg.de Git - paraslash.git/commit
com_rm(): In force mode, don't complain if no paths matched.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 31 Aug 2015 20:00:17 +0000 (22:00 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 31 Aug 2015 20:00:17 +0000 (22:00 +0200)
commitc27a8644af6d285ca6bfd39be9b923ef9f911f78
tree77016d8d005084b52a730ea1efb75119cf9d60df
parent99708bef7ad12ccb9399186f6055004d11bcf3db
com_rm(): In force mode, don't complain if no paths matched.

The documentation says that the rm command stays silent and exits
successfully if none of the given patterns matched any path of the
audio file table.

This was true until commit b02b7155 (com_rm(): Return negative on
errors), which effectively made -f a no-op by mistake. Since then
the rm command prints an error message and fails if there is no
match.

This patch restores the documented behaviour.
aft.c