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 Sep 9, 2024
1 parent 393d341 commit 1dab7b2
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 @@ -91,7 +91,7 @@ uninstall:
$(DESTDIR)$(PREFIX)/bin/keyd-usb-gadget.sh \
$(DESTDIR)$(PREFIX)/lib/systemd/system/keyd.service
clean:
-rm -rf bin keyd.service src/vkbd/usb-gadget.service
rm -rf bin keyd.service src/vkbd/usb-gadget.service
test:
@cd t; \
for f in *.sh; do \
Expand Down

0 comments on commit 1dab7b2

Please sign in to comment.