chmod -f returns nonzero exit status if the file doesn't exist, contrary to my assumption.

Signed-off-by: Daira Hopwood <daira@leastauthority.com>