git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Implement -command (to ignore errors) in guestfish, and allow recovery from qemu...
[libguestfs.git]
/
fish
/
alloc.c
diff --git
a/fish/alloc.c
b/fish/alloc.c
index
594d0a5
..
9ef7b49
100644
(file)
--- a/
fish/alloc.c
+++ b/
fish/alloc.c
@@
-43,7
+43,7
@@
do_alloc (const char *cmd, int argc, char *argv[])
if (parse_size (argv[1], &size) == -1)
return -1;
- if (
g_launched
) {
+ if (
!guestfs_is_config (g)
) {
fprintf (stderr, "can't allocate or add disks after launching\n");
return -1;
}