Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
netblue30 committed Sep 3, 2018
1 parent f10a040 commit 56935ee
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/firejail/main.c
Expand Up @@ -860,8 +860,8 @@ int main(int argc, char **argv) {
int lockfd_directory = -1;
int option_cgroup = 0;
int custom_profile = 0; // custom profile loaded
int arg_seccomp_cmdline = 0; // seccomp requested on command line (used to break --chroot)
int arg_caps_cmdline = 0; // seccomp requested on command line (used to break --chroot)
int arg_seccomp_cmdline = 0; // seccomp requested on command line (used to break out of --chroot)
int arg_caps_cmdline = 0; // caps requested on command line (used to break out of --chroot)

// drop permissions by default and rise them when required
EUID_INIT();
Expand Down Expand Up @@ -2183,12 +2183,6 @@ int main(int argc, char **argv) {
return 1;
}
}
else if (strcmp(argv[i], "--git-install") == 0 ||
strcmp(argv[i], "--git-uninstall") == 0) {
fprintf(stderr, "This feature is not enabled in the current build\n");
exit(1);
}

else if (strcmp(argv[i], "--") == 0) {
// double dash - positional params to follow
arg_doubledash = 1;
Expand Down

0 comments on commit 56935ee

Please sign in to comment.