• Nirbhay Choubey's avatar
    Bug#16046140 BIN/MYSQLD_SAFE: TEST: ARGUMENT EXPECTED · 825459b8
    Nirbhay Choubey authored
    Some shell interpreters do not support '-e' test
    primary to construct conditions.
    
    man test 1 (on S10)
    ...skip...
    -e file True if file exists. (Not available in sh.)
    ...skip...
    
    Hence, check for the existence of a file using
    '-e' might result in a syntax error on such
    shell programs.
    
    Fixed by replacing it by '-f'.
    825459b8
mysqld_safe.sh 17.7 KB