diff options
author | 2020-12-22 17:14:41 +0100 | |
---|---|---|
committer | 2020-12-22 17:14:41 +0100 | |
commit | 91588630ebe436e0586c6234ffda518ebd8501aa (patch) | |
tree | f69226b1d9b522409100bc08a6ecf49ed8366f5d /src/firejail/no_sandbox.c | |
parent | noroot option: create mapping of firejail group (diff) | |
download | firejail-91588630ebe436e0586c6234ffda518ebd8501aa.tar.gz firejail-91588630ebe436e0586c6234ffda518ebd8501aa.tar.zst firejail-91588630ebe436e0586c6234ffda518ebd8501aa.zip |
rework previous commit 45c28b808df9529aca32fdd755ac14e8101af3c1
Diffstat (limited to 'src/firejail/no_sandbox.c')
-rw-r--r-- | src/firejail/no_sandbox.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/firejail/no_sandbox.c b/src/firejail/no_sandbox.c index 6d01d443a..ef0af1491 100644 --- a/src/firejail/no_sandbox.c +++ b/src/firejail/no_sandbox.c | |||
@@ -178,7 +178,6 @@ void run_no_sandbox(int argc, char **argv) { | |||
178 | 178 | ||
179 | // use $SHELL to get shell used in sandbox, guess shell otherwise | 179 | // use $SHELL to get shell used in sandbox, guess shell otherwise |
180 | assert(login_shell == 0); | 180 | assert(login_shell == 0); |
181 | cfg.shell = guess_shell(); | ||
182 | if (!cfg.shell) { | 181 | if (!cfg.shell) { |
183 | fprintf(stderr, "Error: unable to guess your shell, please set SHELL environment variable\n"); | 182 | fprintf(stderr, "Error: unable to guess your shell, please set SHELL environment variable\n"); |
184 | exit(1); | 183 | exit(1); |