Allow numbers in vmname in qubes_penctl.

This commit is contained in:
Rafal Wojtczuk 2010-09-27 17:52:10 +02:00
parent 2f92d0156b
commit 07fe7804d7

View File

@ -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);
}