]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/execute.c
execute: filter out "." for ".." in EnvironmentFile= globs too 5809/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 26 Apr 2017 02:54:50 +0000 (22:54 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 27 Apr 2017 17:21:08 +0000 (13:21 -0400)
commitd8c92e8bc7351f553936b5235e1922c18ebd817a
tree9f91e741284c06368be3ac3c2567ec0c5995c82d
parent84e72b5ef445ffb256bc4add4209c4c9c9855206
execute: filter out "." for ".." in EnvironmentFile= globs too

This doesn't really matter much, only in case somebody would use
something strange like

  EnvironmentFile=/etc/something/.*

Make sure that "." and ".." is not returned by that glob. This makes
all our globbing patterns behave the same.
src/core/execute.c