Allow numbers in vmname in qubes_penctl.
This commit is contained in:
parent
2f92d0156b
commit
07fe7804d7
@ -35,6 +35,8 @@ void check_name(unsigned char *s)
|
||||
continue;
|
||||
if (c == '_' || c == '-')
|
||||
continue;
|
||||
if (c >= '0' && c <= '9')
|
||||
continue;
|
||||
fprintf(stderr, "invalid string %s\n", s);
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user