aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/no_sandbox.c
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2020-12-22 17:14:41 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2020-12-22 17:14:41 +0100
commit91588630ebe436e0586c6234ffda518ebd8501aa (patch)
treef69226b1d9b522409100bc08a6ecf49ed8366f5d /src/firejail/no_sandbox.c
parentnoroot option: create mapping of firejail group (diff)
downloadfirejail-91588630ebe436e0586c6234ffda518ebd8501aa.tar.gz
firejail-91588630ebe436e0586c6234ffda518ebd8501aa.tar.zst
firejail-91588630ebe436e0586c6234ffda518ebd8501aa.zip
Diffstat (limited to 'src/firejail/no_sandbox.c')
-rw-r--r--src/firejail/no_sandbox.c1
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);