mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 15:30:38 +00:00
relax unit name rules a bit
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user