X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=cat%2Fvirt-cat.c;fp=cat%2Fvirt-cat.c;h=834d490cf4460c6b60c8b6bd2a4f1065fbcca91e;hp=470c70cc58368863dca1230a30a0f98cf3b7fb44;hb=a20e5c00c35490fa29668630113a01240a69b701;hpb=2020eded8a3f381c722abe001be8000723ff2418 diff --git a/cat/virt-cat.c b/cat/virt-cat.c index 470c70c..834d490 100644 --- a/cat/virt-cat.c +++ b/cat/virt-cat.c @@ -34,6 +34,7 @@ guestfs_h *g; int read_only = 1; +int live = 0; int verbose = 0; int keys_from_stdin = 0; int echo_keys = 0; @@ -213,6 +214,7 @@ main (int argc, char *argv[]) */ assert (read_only == 1); assert (inspector == 1); + assert (live == 0); /* User must specify at least one filename on the command line. */ if (optind >= argc || argc - optind < 1)