Skip to content

Commit

Permalink
Ignore error if setcap fails since not entirely necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Dec 16, 2015
1 parent 7eee32b commit 84d37ff
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 @@ -6,7 +6,7 @@ all: send RFSniffer
send: RCSwitch.o send.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi
$(CXX) -shared -fPIC $+ -o $@.so -lwiringPi
sudo setcap cap_sys_nice+ep $@
-sudo setcap cap_sys_nice+ep $@

RFSniffer: RCSwitch.o RFSniffer.o
$(CXX) $(CXXFLAGS) $(LDFLAGS) $+ -o $@ -lwiringPi
Expand Down

0 comments on commit 84d37ff

Please sign in to comment.