Allow numbers in vmname in qubes_penctl.

This commit is contained in:
Rafal Wojtczuk 2010-09-27 17:52:10 +02:00
parent ece96ba3fb
commit a4585f1369

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