diff options
Diffstat (limited to 'usr/src/libpiny')
-rw-r--r-- | usr/src/libpiny/lib/Piny/User.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/User.pm b/usr/src/libpiny/lib/Piny/User.pm index b2e85f5..f13d03c 100644 --- a/usr/src/libpiny/lib/Piny/User.pm +++ b/usr/src/libpiny/lib/Piny/User.pm @@ -97,7 +97,9 @@ sub all_users { endpwent( ); while ( my @info = getpwent( ) ) { - push( @ret, $class->new( uid => $info[2] ) ); + eval { + push( @ret, $class->new( uid => $info[2] ) ); + }; }; endpwent( ); |