diff options
author | gregor herrmann <gregoa@debian.org> | 2020-04-21 22:58:33 +0200 |
---|---|---|
committer | gregor herrmann <gregoa@debian.org> | 2020-04-21 22:58:33 +0200 |
commit | 3dc62dbcf1eadd59dfeee4b68774059664448396 (patch) | |
tree | e47708a6b225d9cf364b48eba89e39fbacd5a0e1 /Quota.pm | |
parent | 6b5d05b07ff0b5e6bd7ac370b32091dea884c1b5 (diff) |
New upstream version 1.8.1+dfsg
Diffstat (limited to 'Quota.pm')
-rw-r--r-- | Quota.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]); } |