diff options
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 | } |