diff options
author | 2016-08-14 15:28:31 -0400 | |
---|---|---|
committer | 2016-08-14 15:28:31 -0400 | |
commit | 35ff4ef959ba3bfc66ad1fd2eb1244fb49335ac0 (patch) | |
tree | 5dbaea42450a8c0f3608295e39dd554ce8ef2013 /src/firejail/restricted_shell.c | |
parent | branch status (diff) | |
download | firejail-35ff4ef959ba3bfc66ad1fd2eb1244fb49335ac0.tar.gz firejail-35ff4ef959ba3bfc66ad1fd2eb1244fb49335ac0.tar.zst firejail-35ff4ef959ba3bfc66ad1fd2eb1244fb49335ac0.zip |
fixed login shell
Diffstat (limited to 'src/firejail/restricted_shell.c')
-rw-r--r-- | src/firejail/restricted_shell.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/firejail/restricted_shell.c b/src/firejail/restricted_shell.c index ee6e94957..1920da40a 100644 --- a/src/firejail/restricted_shell.c +++ b/src/firejail/restricted_shell.c | |||
@@ -76,7 +76,6 @@ int restricted_shell(const char *user) { | |||
76 | 76 | ||
77 | // process user | 77 | // process user |
78 | if (strcmp(user, usr) == 0) { | 78 | if (strcmp(user, usr) == 0) { |
79 | restricted_user = strdup(user); | ||
80 | // extract program arguments | 79 | // extract program arguments |
81 | 80 | ||
82 | fullargv[0] = "firejail"; | 81 | fullargv[0] = "firejail"; |