diff options
author | netblue30 <netblue30@yahoo.com> | 2017-03-23 12:50:47 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-03-23 12:50:47 -0400 |
commit | 2150dfc070b2775100ef3a19bf92e4dfedc515c1 (patch) | |
tree | edb59d316f00ad7628fb96acfb3a2d0b4711cbd0 /src | |
parent | merges (diff) | |
download | firejail-2150dfc070b2775100ef3a19bf92e4dfedc515c1.tar.gz firejail-2150dfc070b2775100ef3a19bf92e4dfedc515c1.tar.zst firejail-2150dfc070b2775100ef3a19bf92e4dfedc515c1.zip |
testing
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/checkcfg.c | 12 |
1 files changed, 8 insertions, 4 deletions
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) { | |||
291 | else if (strncmp(ptr, "quiet-by-default ", 17) == 0) { | 291 | else if (strncmp(ptr, "quiet-by-default ", 17) == 0) { |
292 | if (strcmp(ptr + 17, "yes") == 0) | 292 | if (strcmp(ptr + 17, "yes") == 0) |
293 | arg_quiet = 1; | 293 | arg_quiet = 1; |
294 | else if (strcmp(ptr + 17, "no") == 0) | ||
295 | arg_quiet = 0; | ||
296 | else | ||
297 | goto errout; | ||
294 | } | 298 | } |
295 | // remount /proc and /sys | 299 | // remount /proc and /sys |
296 | else if (strncmp(ptr, "remount-proc-sys ", 17) == 0) { | 300 | else if (strncmp(ptr, "remount-proc-sys ", 17) == 0) { |
@@ -413,16 +417,16 @@ void print_compiletime_support(void) { | |||
413 | #endif | 417 | #endif |
414 | ); | 418 | ); |
415 | 419 | ||
416 | printf("\t- networking support is %s\n", | 420 | printf("\t- git install support is %s\n", |
417 | #ifdef HAVE_NETWORK | 421 | #ifdef HAVE_GIT_INSTALL |
418 | "enabled" | 422 | "enabled" |
419 | #else | 423 | #else |
420 | "disabled" | 424 | "disabled" |
421 | #endif | 425 | #endif |
422 | ); | 426 | ); |
423 | 427 | ||
424 | printf("\t- git install support is %s\n", | 428 | printf("\t- networking support is %s\n", |
425 | #ifdef HAVE_GIT_INSTALL | 429 | #ifdef HAVE_NETWORK |
426 | "enabled" | 430 | "enabled" |
427 | #else | 431 | #else |
428 | "disabled" | 432 | "disabled" |