From 2150dfc070b2775100ef3a19bf92e4dfedc515c1 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 23 Mar 2017 12:50:47 -0400 Subject: testing --- src/firejail/checkcfg.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/firejail/checkcfg.c b/src/firejail/checkcfg.c index 67bcd996a..f76f83d85 100644 --- a/src/firejail/checkcfg.c +++ b/src/firejail/checkcfg.c @@ -291,6 +291,10 @@ int checkcfg(int val) { else if (strncmp(ptr, "quiet-by-default ", 17) == 0) { if (strcmp(ptr + 17, "yes") == 0) arg_quiet = 1; + else if (strcmp(ptr + 17, "no") == 0) + arg_quiet = 0; + else + goto errout; } // remount /proc and /sys else if (strncmp(ptr, "remount-proc-sys ", 17) == 0) { @@ -413,16 +417,16 @@ void print_compiletime_support(void) { #endif ); - printf("\t- networking support is %s\n", -#ifdef HAVE_NETWORK + printf("\t- git install support is %s\n", +#ifdef HAVE_GIT_INSTALL "enabled" #else "disabled" #endif ); - printf("\t- git install support is %s\n", -#ifdef HAVE_GIT_INSTALL + printf("\t- networking support is %s\n", +#ifdef HAVE_NETWORK "enabled" #else "disabled" -- cgit v1.2.3-70-g09d2