Commit 11887440 authored by Mike Hibler's avatar Mike Hibler
Browse files

getgrgit returns a list, so be careful how we compare the return val.

parent 277ef66d
......@@ -109,7 +109,8 @@ foreach my $tipname ( keys %tipgroup ) {
# in rolling the file. Inconvenient for the user to have the log keep
# rolling.
if (getgrgid($gid) eq $grp) {
my ($cgrp) = getgrgid($gid);
if (defined($cgrp) && $cgrp eq $grp) {
goto setperms;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment