mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-28 03:25:27 +03:00
relax unit name rules a bit
This commit is contained in:
parent
b19e7dc010
commit
b5ea5d95b4
2
unit.c
2
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;
|
||||
|
Loading…
Reference in New Issue
Block a user