diff --git a/hermit/tools/proxy.c b/hermit/tools/proxy.c index 9c4de1c10..0f4bdf5c8 100644 --- a/hermit/tools/proxy.c +++ b/hermit/tools/proxy.c @@ -286,7 +286,7 @@ static int init_qemu(char *path) }*/ str = getenv("HERMIT_VERBOSE"); - if (str) + if (str && (strcmp(str, "0") != 0)) { printf("qemu startup command: "); @@ -389,7 +389,7 @@ static void dump_log(void) FILE* file; char line[2048]; - if (!str) + if (!(str && (strcmp(str, "0") != 0))) return; if (!qemu)