aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/restricted_shell.c
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2016-08-14 15:28:31 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2016-08-14 15:28:31 -0400
commit35ff4ef959ba3bfc66ad1fd2eb1244fb49335ac0 (patch)
tree5dbaea42450a8c0f3608295e39dd554ce8ef2013 /src/firejail/restricted_shell.c
parentbranch status (diff)
downloadfirejail-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.c1
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";