diff options
author | 2019-10-31 17:37:36 -0400 | |
---|---|---|
committer | 2019-10-31 17:37:36 -0400 | |
commit | 11418a46c1c1c51a1270bb585bf8152f9298bc74 (patch) | |
tree | 17b60e42e62ecb6d4096f9bfbaaa0543defd7326 /src/firejail/profile.c | |
parent | testing (diff) | |
download | firejail-11418a46c1c1c51a1270bb585bf8152f9298bc74.tar.gz firejail-11418a46c1c1c51a1270bb585bf8152f9298bc74.tar.zst firejail-11418a46c1c1c51a1270bb585bf8152f9298bc74.zip |
dns fixes
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 80a4bed5a..03cd9dadb 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -874,8 +874,8 @@ int profile_check_line(char *ptr, int lineno, const char *fname) { | |||
874 | else if (cfg.dns4 == NULL) | 874 | else if (cfg.dns4 == NULL) |
875 | cfg.dns4 = dns; | 875 | cfg.dns4 = dns; |
876 | else { | 876 | else { |
877 | fprintf(stderr, "Error: up to 4 DNS servers can be specified\n"); | 877 | fwarning("Warning: up to 4 DNS servers can be specified, %s ignored\n", dns); |
878 | exit(1); | 878 | free(dns); |
879 | } | 879 | } |
880 | return 0; | 880 | return 0; |
881 | } | 881 | } |