xdg-autostart-service: Ignore missing desktop-sepcific condition binary
authorBenjamin Berg <bberg@redhat.com>
Mon, 10 Jan 2022 11:35:46 +0000 (12:35 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 12 Jan 2022 15:11:09 +0000 (16:11 +0100)
commit6d0aef1dd15088e7379681b3bd93c3cb450f3c55
tree1ea135678d75fa48a7d6789c7fa7dc6c04a7528a
parentffb8c827154bea1126bfe4ec3731986d68cdc396
xdg-autostart-service: Ignore missing desktop-sepcific condition binary

If a desktop specific ExecCondition= binary does not exist, this just
means that the desktop environment is not available. As such, it is not
an error condition that should prevent the service from being installed
in the .wants target.

Fix this by simply returning zero.
src/xdg-autostart-generator/xdg-autostart-service.c