git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@115 7c53e7cc-98ea-0310-8f1f-a0b24da60408
@@ -104,7 +104,7 @@ struct passwd* Input::GetPasswdStruct() {
endpwent();
if (pw->pw_shell[0] == '\0') {
setusershell();
- pw->pw_shell = getusershell();
+ strcpy(pw->pw_shell, getusershell());
endusershell();
}
return pw;