diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:50:35 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-03-23 19:50:35 +0000 |
commit | 30d441e3847eb11c5de781503af64d38358f5408 (patch) | |
tree | b5a904657487cd5dfec16ca195ee72b9098a086f /perl-install/standalone/fileshareset | |
parent | 6fa4abc16d1b016f54bd1d6931d635a93a272232 (diff) | |
download | drakx-backup-do-not-use-30d441e3847eb11c5de781503af64d38358f5408.tar drakx-backup-do-not-use-30d441e3847eb11c5de781503af64d38358f5408.tar.gz drakx-backup-do-not-use-30d441e3847eb11c5de781503af64d38358f5408.tar.bz2 drakx-backup-do-not-use-30d441e3847eb11c5de781503af64d38358f5408.tar.xz drakx-backup-do-not-use-30d441e3847eb11c5de781503af64d38358f5408.zip |
perl_checker cleanups
Diffstat (limited to 'perl-install/standalone/fileshareset')
-rwxr-xr-x | perl-install/standalone/fileshareset | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/fileshareset b/perl-install/standalone/fileshareset index 77e0139c9..b5dcbfb16 100755 --- a/perl-install/standalone/fileshareset +++ b/perl-install/standalone/fileshareset @@ -153,7 +153,7 @@ sub read_conf { $conf{$cmd} = $value || warn qq(suspicious line "$_" in $authorisation_file\n); } # no close $F_lock, keep it locked - \%conf + \%conf; } sub check { @@ -170,7 +170,7 @@ sub check { # ok, access granted for everybody } else { my @l; - while (@l = getgrent) { + while (@l = getgrent()) { last if $l[0] eq $authorisation_group; } ::member($username, split(' ', $l[3])) or ::error($non_authorised); |