pclose() return is checked only for values < 0. As a result the exit status if the wsrep_sst_mysqldump script is not checked and is always assumed to be 0.
pclose() return is checked only for values < 0. As a result the exit status if the wsrep_sst_mysqldump script is not checked and is always assumed to be 0.