diff options
author | Richard Jones <rjones@redhat.com> | 2009-05-08 15:19:51 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-05-08 15:19:51 +0100 |
commit | c10fa84ada465d83bcbe0550ed512215036b4bea (patch) | |
tree | 9c0247d1d2870009e14bfcf08c605018da09f845 /fish/alloc.c | |
parent | 33377fc61d4356a0e83cf7ef39d545842647481c (diff) | |
download | libguestfs-c10fa84ada465d83bcbe0550ed512215036b4bea.tar.gz libguestfs-c10fa84ada465d83bcbe0550ed512215036b4bea.tar.xz libguestfs-c10fa84ada465d83bcbe0550ed512215036b4bea.zip |
Implement -command (to ignore errors) in guestfish, and allow recovery from qemu process failure.
Diffstat (limited to 'fish/alloc.c')
-rw-r--r-- | fish/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/alloc.c b/fish/alloc.c index 594d0a56..9ef7b498 100644 --- 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; } |