]> git.ipfire.org Git - thirdparty/shadow.git/commit
* libmisc/shell.c: Removed invalid code that executed the user's
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 12 May 2009 20:01:41 +0000 (20:01 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 12 May 2009 20:01:41 +0000 (20:01 +0000)
commit87bb724151cb98b8e4f7df4997dcfab3a70bb007
treeafbc906d8ef31fa045a565fcf7df2ca4e8f8db27
parent205e8b5137353795368c7c6f62534b097e293148
* libmisc/shell.c: Removed invalid code that executed the user's
shell as a shell script when the direct execution of the user's
shell failed with ENOEXEC and the user's shell has a shebang. The
interpreter might not be the right one.  Executing the user's
shell with sh -c might be better, but I'm not sure we should try
harder when there is a failure. Note: The removed code was only
included #ifndef __linux__.
ChangeLog
libmisc/shell.c