diff options
author | 2022-06-19 17:42:15 -0400 | |
---|---|---|
committer | 2022-06-19 17:42:15 -0400 | |
commit | 4caf05b08d4eeecd621dcb182682be79ccd38f03 (patch) | |
tree | 6253d79eef1ff6c706c24f592c0cab14d73a48f1 /src | |
parent | shell none set as default (3) (diff) | |
download | firejail-4caf05b08d4eeecd621dcb182682be79ccd38f03.tar.gz firejail-4caf05b08d4eeecd621dcb182682be79ccd38f03.tar.zst firejail-4caf05b08d4eeecd621dcb182682be79ccd38f03.zip |
shell none set as default (4)
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/main.c | 8 |
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) { |
2819 | just_run_the_shell = 1; | 2819 | just_run_the_shell = 1; |
2820 | if (!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 |