• Vicențiu Ciorbaru's avatar
    MDEV-19211 Fix mysqld_safe --dry-run · 6a7d51b1
    Vicențiu Ciorbaru authored
    mysqld_safe --dry-run needs to either call exit or return, depending if
    it is being sourced or not, otherise return can lead to the error:
    
    return: can only `return' from a function or sourced script
    
    The original fix suggestion was proposed by FaramosCZ <mschorm@centrum.cz>
    6a7d51b1
mysqld_safe.sh 30.4 KB