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/unit-name.h | |
parent | f34277d9117cd9d858f7332eef0023e05277ce74 (diff) |
systemctl: fix 'systemctl enable getty@.service'
Diffstat (limited to 'src/unit-name.h')
-rw-r--r-- | src/unit-name.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unit-name.h b/src/unit-name.h index a752f3a2c7..db1a79e8d5 100644 --- a/src/unit-name.h +++ b/src/unit-name.h @@ -30,7 +30,7 @@ int unit_name_to_instance(const char *n, char **instance); char* unit_name_to_prefix(const char *n); char* unit_name_to_prefix_and_instance(const char *n); -bool unit_name_is_valid_no_type(const char *n); +bool unit_name_is_valid_no_type(const char *n, bool template_ok); bool unit_prefix_is_valid(const char *p); bool unit_instance_is_valid(const char *i); |