[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
Fri Nov 16 09:26:29 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8745

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA
         QA Contact|                            |jonathan.druart at biblibre.co
                   |                            |m

--- Comment #8 from Jonathan Druart <jonathan.druart at biblibre.com> ---
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.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list