qubes-restore: make error message more truthful
This commit is contained in:
parent
f3850b7a71
commit
f34728c0bb
@ -221,7 +221,7 @@ char *get_vmname_from_savefile(int fd)
|
|||||||
name = strstr(buf, NAME_PATTERN);
|
name = strstr(buf, NAME_PATTERN);
|
||||||
if (!name) {
|
if (!name) {
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"cannot find 'volatile.img' in savefile\n");
|
"cannot find '"NAME_PATTERN"' in savefile\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
*name = 0;
|
*name = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user