aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2020-12-22 17:45:42 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2020-12-22 17:45:42 +0100
commit127c3b17f26f03b3efca9716ea040861563c3ad5 (patch)
tree1fd350ff6266b9c1a73dc5b0b15e16a046a77443 /src
parentrework previous commit 45c28b808df9529aca32fdd755ac14e8101af3c1 (diff)
downloadfirejail-127c3b17f26f03b3efca9716ea040861563c3ad5.tar.gz
firejail-127c3b17f26f03b3efca9716ea040861563c3ad5.tar.zst
firejail-127c3b17f26f03b3efca9716ea040861563c3ad5.zip
shell autoselection fixup
Diffstat (limited to 'src')
-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);