summaryrefslogtreecommitdiff
path: root/test1/syslog.socket
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2010-12-01 15:39:52 +0100
committerKay Sievers <kay.sievers@vrfy.org>2010-12-01 16:39:58 +0100
commit67575eef76e99cc03b2860f8a93009a34ce37583 (patch)
tree4b4f3e1779c9a48b65ba3130e9f769e7db9f942e /test1/syslog.socket
parent550c4dcc4184d5c4d55d3786b66797e5fb99c30a (diff)
path: fix watching the root directory
If you have a path unit with: DirectoryNotEmpty=/foo and "/foo" does not exist, creating it later escapes the attention of systemd. When adding watches for parent directories, systemd never adds one for the root directory. It attempts to add a watch for an empty string instead, which fails. If the path is "/", we must not trim the slash.
Diffstat (limited to 'test1/syslog.socket')
0 files changed, 0 insertions, 0 deletions