[Koha-bugs] [Bug 8745] disallow rebuild_zebra.pl from executing, when run by root user
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Apr 2 11:39:09 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8745
Mason James <mtj at kohaaloha.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Needs Signoff
--- Comment #12 from Mason James <mtj at kohaaloha.com> ---
(In reply to comment #8)
> This patch cannot work.
>
> the following line is wrong:
> if( undef $run_as_root and $run_user eq 'root')
>
> undef $run_as_root is always false.
>
> You wanted write
> if ( not defined $run_as_root and $run_user eq 'root' )
>
> Marked as Failed QA.
Jonathan, thanks for spotting the mistake. i have fixed it now
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list