codehotter / 389-ds-base

Forked from 389-ds-base 5 years ago
Clone

0219577 Ticket #563 - DSCreate.pm: Error messages cannot be used in the if expression since they could be localized.

Authored and Committed by Noriko Hosoi 11 years ago
    Ticket #563 - DSCreate.pm: Error messages cannot be used in the if expression since they could be localized.
    
    Bug description: Error messages from the command line interface
    could be localized based upon the users' configuration.  But the
    script expects English sentence.
    
    Fix description: Set the C locale '$ENV{LANG} = "C"' before running
    the command line if the message from the command is examined in
    the expression.
    
    Reviewed by Mark (Thank you!!)