From 3dc62dbcf1eadd59dfeee4b68774059664448396 Mon Sep 17 00:00:00 2001 From: gregor herrmann Date: Tue, 21 Apr 2020 22:58:33 +0200 Subject: New upstream version 1.8.1+dfsg --- Quota.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Quota.pm') diff --git a/Quota.pm b/Quota.pm index 4c4904b..40e5dc8 100644 --- a/Quota.pm +++ b/Quota.pm @@ -22,7 +22,7 @@ require DynaLoader; @ISA = qw(Exporter DynaLoader); @EXPORT = (); -$VERSION = '1.8.0'; +$VERSION = '1.8.1'; bootstrap Quota; @@ -44,7 +44,7 @@ sub getdev { my($ret) = undef; my($fsname,$path); - if($dev && ($target ne "") && !Quota::setmntent()) { + if(defined($dev) && ($target ne "") && !Quota::setmntent()) { while(($fsname,$path) = Quota::getmntent()) { ($ret=$fsname, last) if ($dev == (stat($path))[0]); } -- cgit v1.2.3