chiark / gitweb /
build-sys: don't fail if CAP_SETFCAP is missing
[elogind.git] / Makefile.am
index 78cf4a94f0880603b8b1be07b4953dc15809d53c..dc424f64673953061991b0787b653366cda43fe4 100644 (file)
@@ -2584,7 +2584,7 @@ EXTRA_DIST += \
 
 if HAVE_SMACK
 bus-proxyd-set-cap-hook:
-       $(SETCAP) cap_mac_admin+ei $(DESTDIR)$(rootlibexecdir)/systemd-bus-proxyd
+       -$(SETCAP) cap_mac_admin+ei $(DESTDIR)$(rootlibexecdir)/systemd-bus-proxyd
 
 INSTALL_EXEC_HOOKS += bus-proxyd-set-cap-hook
 endif