mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-25 21:54:48 +00:00
Make not-running status ok.
This commit is contained in:
@@ -6818,8 +6818,7 @@ sub agent_status {
|
|||||||
_warn("Sorry, an error occured while getting the pt-agent PID: $e");
|
_warn("Sorry, an error occured while getting the pt-agent PID: $e");
|
||||||
}
|
}
|
||||||
elsif ( $e->isa('Percona::Agent::Exception::PIDNotFound') ) {
|
elsif ( $e->isa('Percona::Agent::Exception::PIDNotFound') ) {
|
||||||
_warn("$e. If pt-agent is still running, use kill -ABRT to force "
|
_info("pt-agent is not running");
|
||||||
. "it to stop.");
|
|
||||||
}
|
}
|
||||||
elsif ( $e->isa('Percona::Agent::Exception::PIDNotRunning') ) {
|
elsif ( $e->isa('Percona::Agent::Exception::PIDNotRunning') ) {
|
||||||
_warn("$e. pt-agent may have stopped unexpectedly or crashed.");
|
_warn("$e. pt-agent may have stopped unexpectedly or crashed.");
|
||||||
|
Reference in New Issue
Block a user