Skip to content

Commit

Permalink
Don't ignore the return value from rm -rf
Browse files Browse the repository at this point in the history
The `-f` option causes `rm` to silently ignore files that don't exist,
so `rm -rf` will only fail if `rm` has trouble deleting a file that
exists.  We want `make` to fail in that situation.
  • Loading branch information
rhansen committed Feb 28, 2024
1 parent 5832c75 commit ee4ec2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ uninstall:
$(DESTDIR)$(PREFIX)/bin/keyd-usb-gadget.sh \
$(DESTDIR)$(PREFIX)/lib/systemd/system/keyd.service
clean:
-rm -rf bin keyd.service
rm -rf bin keyd.service
test:
@cd t; \
for f in *.sh; do \
Expand Down

0 comments on commit ee4ec2b

Please sign in to comment.