X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=utils%2Fguest_creator%2Fmain.c;h=15b85ce755140ff0e17536291044927318c2700b;hb=182f64e4f9b4718aa96f08f8729dc7ef3e642323;hp=a3b427bf1b29a7d0262e252c0ebe2d163ca56010;hpb=d1245641d65684676af9a24663eabe1656fff118;p=palacios.git diff --git a/utils/guest_creator/main.c b/utils/guest_creator/main.c index a3b427b..15b85ce 100644 --- a/utils/guest_creator/main.c +++ b/utils/guest_creator/main.c @@ -77,6 +77,10 @@ int main(int argc, char ** argv) { printf("Input: [%s] ==>> Output: [%s]\n", infile, outfile); ezxml_t cfg_input = ezxml_parse_file(infile); + if (strcmp("", ezxml_error(cfg_input)) != 0) { + printf("%s\n", ezxml_error(cfg_input)); + return -1; + } if (cfg_input == NULL) { printf("Could not open configuration input file: %s\n", infile);