Skip to content

Commit

Permalink
Merge pull request #1607 from willyhun/ncm-dirperm-fix-display-error
Browse files Browse the repository at this point in the history
ncm-dirperm: fix the wrong variable which causes confusion on error display
  • Loading branch information
jrha authored Jul 26, 2023
2 parents 1b3d6bd + 29198b9 commit fcd3abc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ncm-dirperm/src/main/perl/dirperm.pm
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ sub process_path {
$gid = (getgrnam($group))[2] if ($group);

if (!defined($uid) or !defined($gid)) {
$self->error("Bad owner or group ($owner/".($group ? $group : 'default user group').")");
$self->error("Bad owner or group ($user/".($group ? $group : 'default user group').")");
return 0;
}
} else {
Expand Down

0 comments on commit fcd3abc

Please sign in to comment.