aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c
index c9954d8c7..e8b17bf45 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -1774,9 +1774,6 @@ int main(int argc, char **argv) {
1774 } 1774 }
1775 } 1775 }
1776 1776
1777 // check network configuration options - it will exit if anything went wrong
1778 net_check_cfg();
1779
1780 // check trace configuration 1777 // check trace configuration
1781 if (arg_trace && arg_tracelog) 1778 if (arg_trace && arg_tracelog)
1782 fprintf(stderr, "Warning: --trace and --tracelog are mutually exclusive; --tracelog disabled\n"); 1779 fprintf(stderr, "Warning: --trace and --tracelog are mutually exclusive; --tracelog disabled\n");
@@ -1922,6 +1919,9 @@ int main(int argc, char **argv) {
1922 } 1919 }
1923 } 1920 }
1924 1921
1922 // check network configuration options - it will exit if anything went wrong
1923 net_check_cfg();
1924
1925 // check and assign an IP address - for macvlan it will be done again in the sandbox! 1925 // check and assign an IP address - for macvlan it will be done again in the sandbox!
1926 if (any_bridge_configured()) { 1926 if (any_bridge_configured()) {
1927 EUID_ROOT(); 1927 EUID_ROOT();