mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-06 20:38:22 +00:00
Handle meta-service exit 252 == exit 0 in parent.
This commit is contained in:
@@ -7117,7 +7117,11 @@ sub run_service {
|
||||
exit_status => $cmd_exit_status,
|
||||
};
|
||||
|
||||
if ( $cmd_exit_status == 253 ) {
|
||||
if ( $cmd_exit_status == 252 && !$service->meta ) {
|
||||
# Equivalent to 0 for meta-services that need to stop early
|
||||
# but let the non-meta, i.e. real, parent service continue.
|
||||
}
|
||||
elsif ( $cmd_exit_status == 253 ) {
|
||||
$logger->error($task->name . ' exit status not zero, '
|
||||
. 'stopping ' . $service->name . ' service');
|
||||
stop_service(
|
||||
|
Reference in New Issue
Block a user