diff --git a/memstats b/memstats index 3b4266b..cb47146 100755 --- a/memstats +++ b/memstats @@ -182,7 +182,7 @@ while (my $pid = readdir(DIR)) { # Get owner name my $uid = 0; - open(FIC," ) ) { if ($l =~ /Uid:\s+([0-9]+)\s+.*/) { @@ -196,7 +196,7 @@ while (my $pid = readdir(DIR)) { $quota,$comment,$gcos,$dir,$shell,$expire) = getpwuid($uid); # Get infos - open(FIC,"); close (FIC);