aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-08-24 09:53:58 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-08-24 09:53:58 -0400
commit88ac875a2b092af3997723684dbeb1d22f0c82dd (patch)
tree557670861c42625446054963b68cc9b350417a80 /src
parenttesting 0.9.42~rc2 (diff)
downloadfirejail-88ac875a2b092af3997723684dbeb1d22f0c82dd.tar.gz
firejail-88ac875a2b092af3997723684dbeb1d22f0c82dd.tar.zst
firejail-88ac875a2b092af3997723684dbeb1d22f0c82dd.zip
0.9.42~2 testing
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 f7d62f90c..aae490c34 100644
--- a/src/firejail/no_sandbox.c
+++ b/src/firejail/no_sandbox.c
@@ -231,7 +231,7 @@ void run_no_sandbox(int argc, char **argv) {
231 231
232 // use $SHELL to get shell used in sandbox 232 // use $SHELL to get shell used in sandbox
233 if (!arg_shell_none && !cfg.shell) { 233 if (!arg_shell_none && !cfg.shell) {
234 char *shell = secure_getenv("SHELL"); 234 char *shell = getenv("SHELL");
235 if (access(shell, R_OK) == 0) 235 if (access(shell, R_OK) == 0)
236 cfg.shell = shell; 236 cfg.shell = shell;
237 } 237 }