diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/main.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index 3f8640e9a..c335ef13d 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -860,8 +860,8 @@ int main(int argc, char **argv) { | |||
860 | int lockfd_directory = -1; | 860 | int lockfd_directory = -1; |
861 | int option_cgroup = 0; | 861 | int option_cgroup = 0; |
862 | int custom_profile = 0; // custom profile loaded | 862 | int custom_profile = 0; // custom profile loaded |
863 | int arg_seccomp_cmdline = 0; // seccomp requested on command line (used to break --chroot) | 863 | int arg_seccomp_cmdline = 0; // seccomp requested on command line (used to break out of --chroot) |
864 | int arg_caps_cmdline = 0; // seccomp requested on command line (used to break --chroot) | 864 | int arg_caps_cmdline = 0; // caps requested on command line (used to break out of --chroot) |
865 | 865 | ||
866 | // drop permissions by default and rise them when required | 866 | // drop permissions by default and rise them when required |
867 | EUID_INIT(); | 867 | EUID_INIT(); |
@@ -2183,12 +2183,6 @@ int main(int argc, char **argv) { | |||
2183 | return 1; | 2183 | return 1; |
2184 | } | 2184 | } |
2185 | } | 2185 | } |
2186 | else if (strcmp(argv[i], "--git-install") == 0 || | ||
2187 | strcmp(argv[i], "--git-uninstall") == 0) { | ||
2188 | fprintf(stderr, "This feature is not enabled in the current build\n"); | ||
2189 | exit(1); | ||
2190 | } | ||
2191 | |||
2192 | else if (strcmp(argv[i], "--") == 0) { | 2186 | else if (strcmp(argv[i], "--") == 0) { |
2193 | // double dash - positional params to follow | 2187 | // double dash - positional params to follow |
2194 | arg_doubledash = 1; | 2188 | arg_doubledash = 1; |