aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-01-31 09:13:26 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2016-01-31 09:13:26 -0500
commit5b2035f02647b67a7ecb9eb6da49426a3b6014a3 (patch)
tree712b3552d80a68afc15d943acab3516727eac9db
parentmupen64plus profile (diff)
downloadfirejail-5b2035f02647b67a7ecb9eb6da49426a3b6014a3.tar.gz
firejail-5b2035f02647b67a7ecb9eb6da49426a3b6014a3.tar.zst
firejail-5b2035f02647b67a7ecb9eb6da49426a3b6014a3.zip
fixed ssh login in firejail shell
-rw-r--r--README3
-rw-r--r--src/firejail/main.c5
-rwxr-xr-xtest/login_ssh.exp2
3 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index c9d0d4155..35fd433d3 100644
--- a/README
+++ b/README
@@ -24,8 +24,7 @@ Martin Carpenter (https://github.com/mcarpenter)
24 - security audit and bug fixes 24 - security audit and bug fixes
25 - Centos 6.x support 25 - Centos 6.x support
26Aleksey Manevich (https://github.com/manevich) 26Aleksey Manevich (https://github.com/manevich)
27 - mutt fixes 27 - several profile fixes
28 - several other profile fixes
29pszxzsd (https://github.com/pszxzsd) 28pszxzsd (https://github.com/pszxzsd)
30 -uGet profile 29 -uGet profile
31Rahiel Kasim (https://github.com/rahiel) 30Rahiel Kasim (https://github.com/rahiel)
diff --git a/src/firejail/main.c b/src/firejail/main.c
index 684d03c05..4a86e9a2b 100644
--- a/src/firejail/main.c
+++ b/src/firejail/main.c
@@ -466,8 +466,9 @@ int main(int argc, char **argv) {
466 int highest_errno = errno_highest_nr(); 466 int highest_errno = errno_highest_nr();
467#endif 467#endif
468 468
469 // check argv[0] symlink wrapper 469 // check argv[0] symlink wrapper if this is not a login shell
470 run_symlink(argc, argv); 470 if (*argv[0] != '-')
471 run_symlink(argc, argv);
471 472
472 473
473 // check if we already have a sandbox running 474 // check if we already have a sandbox running
diff --git a/test/login_ssh.exp b/test/login_ssh.exp
index 163ee91b2..23c775763 100755
--- a/test/login_ssh.exp
+++ b/test/login_ssh.exp
@@ -56,4 +56,4 @@ expect {
56} 56}
57sleep 1 57sleep 1
58 58
59puts "\n" 59puts "\nall done\n"