mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
Tolerate users without home directories etc.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19567 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
43ba34ba4c
commit
858255dd23
2 changed files with 7 additions and 5 deletions
|
@ -779,11 +779,6 @@ static NSString *pathForUser(NSString *user)
|
|||
{
|
||||
NSString *path = pathForUser(userName);
|
||||
|
||||
if (path == nil)
|
||||
{
|
||||
RELEASE(self);
|
||||
return nil;
|
||||
}
|
||||
return [self initWithContentsOfFile: path];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue