summaryrefslogtreecommitdiff
path: root/unit.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-28 06:44:13 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-28 06:44:13 +0100
commitb5ea5d95b40315ed9bb21a443480f717092d4981 (patch)
tree9775d1de22e5c6582078f2a0e90788e57e519bd5 /unit.c
parentb19e7dc0104c8839835a90d7df20c2eeb631e07e (diff)
relax unit name rules a bit
Diffstat (limited to 'unit.c')
-rw-r--r--unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit.c b/unit.c
index a5f4ac7676..2f39d887fe 100644
--- a/unit.c
+++ b/unit.c
@@ -44,7 +44,7 @@ UnitType unit_name_to_type(const char *n) {
"0123456789" \
"abcdefghijklmnopqrstuvwxyz" \
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
- "-_"
+ "-_.\\"
bool unit_name_is_valid(const char *n) {
UnitType t;