aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/main.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c
index 695f018a5..1554209b9 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -2816,11 +2816,9 @@ int main(int argc, char **argv, char **envp) {
2816 2816
2817 // prog_index could still be -1 if no program was specified 2817 // prog_index could still be -1 if no program was specified
2818 if (prog_index == -1 && arg_shell_none) { 2818 if (prog_index == -1 && arg_shell_none) {
2819just_run_the_shell = 1; 2819 just_run_the_shell = 1;
2820if (!cfg.shell) 2820 if (!cfg.shell)
2821 cfg.shell = cfg.usershell; 2821 cfg.shell = cfg.usershell;
2822// fprintf(stderr, "Error: shell=none configured, but no program specified\n");
2823// exit(1);
2824 } 2822 }
2825 2823
2826 // check trace configuration 2824 // check trace configuration