diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-08 03:09:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-08 03:09:25 +0200 |
commit | b9c0d4415b8cd6135321185b6febfdd1366a477c (patch) | |
tree | c322309e262ea7c49c0ebe06ad0a52d8268c2dad /src/manager.c | |
parent | f34277d9117cd9d858f7332eef0023e05277ce74 (diff) |
systemctl: fix 'systemctl enable getty@.service'
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/manager.c b/src/manager.c index 26a631e9d7..7e9075aad6 100644 --- a/src/manager.c +++ b/src/manager.c @@ -1641,7 +1641,7 @@ int manager_load_unit_prepare(Manager *m, const char *name, const char *path, DB if (!name) name = file_name_from_path(path); - if (!unit_name_is_valid(name)) { + if (!unit_name_is_valid(name, false)) { dbus_set_error(e, BUS_ERROR_INVALID_NAME, "Unit name %s is not valid.", name); return -EINVAL; } |