chiark / gitweb /
core/path: catch errors when adding watches
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 3 Mar 2013 06:49:11 +0000 (01:49 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 3 Mar 2013 13:55:53 +0000 (08:55 -0500)
commit28a79bd28b706e33825ec01fc651dbd76a252ea3
tree487c71cc457f20b78733bd872a87a092434a7b4d
parente0207c8d91514350c6a1bf0dda9337823004c371
core/path: catch errors when adding watches

Errors because of oom conditions or descriptor exhaustion should not
be ignored. We probably cannot recover from those conditions.

Current behaviour wrt. insufficient permissions is described in the
man page. It might make sense in case of user sessions, so I left
it as is.
man/systemd.path.xml
src/core/path.c