aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/no_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/no_sandbox.c b/src/firejail/no_sandbox.c
index ef0af1491..01df77ee6 100644
--- a/src/firejail/no_sandbox.c
+++ b/src/firejail/no_sandbox.c
@@ -177,7 +177,7 @@ void run_no_sandbox(int argc, char **argv) {
177 } 177 }
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 cfg.shell = guess_shell();
181 if (!cfg.shell) { 181 if (!cfg.shell) {
182 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");
183 exit(1); 183 exit(1);