summaryrefslogtreecommitdiff
path: root/Quota.pm
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2020-04-21 22:58:33 +0200
committergregor herrmann <gregoa@debian.org>2020-04-21 22:58:33 +0200
commit3dc62dbcf1eadd59dfeee4b68774059664448396 (patch)
treee47708a6b225d9cf364b48eba89e39fbacd5a0e1 /Quota.pm
parent6b5d05b07ff0b5e6bd7ac370b32091dea884c1b5 (diff)
New upstream version 1.8.1+dfsg
Diffstat (limited to 'Quota.pm')
-rw-r--r--Quota.pm4
1 files changed, 2 insertions, 2 deletions
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]);
}