summaryrefslogtreecommitdiff
path: root/src/load-fragment.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-08 03:09:25 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-08 03:09:25 +0200
commitb9c0d4415b8cd6135321185b6febfdd1366a477c (patch)
treec322309e262ea7c49c0ebe06ad0a52d8268c2dad /src/load-fragment.c
parentf34277d9117cd9d858f7332eef0023e05277ce74 (diff)
systemctl: fix 'systemctl enable getty@.service'
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r--src/load-fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c
index 54b1af041c..740c11c3c2 100644
--- a/src/load-fragment.c
+++ b/src/load-fragment.c
@@ -1431,7 +1431,7 @@ static int open_follow(char **filename, FILE **_f, Set *names, char **_final) {
* unit name. */
name = file_name_from_path(*filename);
- if (unit_name_is_valid(name)) {
+ if (unit_name_is_valid(name, false)) {
if (!(id = set_get(names, name))) {
if (!(id = strdup(name)))