Permalink
Browse files

Fixed minor warning

  • Loading branch information...
1 parent 1108348 commit 7c07112fdad068bead8b1ffca94baa32e2ba27cb @creaktive committed Jan 21, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 rainbarf
View
@@ -318,7 +318,7 @@ sub memory {
) : ();
} <$meminfo>;
close $meminfo;
- $m{c} -= delete $m{sc};
+ $m{c} -= delete $m{sc} || 0;
delete $m{c} if $m{c} < 0;
my $x = delete($m{st}) - delete($m{sf});
$m{w} = delete($m{t}) - sum values %m;

0 comments on commit 7c07112

Please sign in to comment.