diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index 1988843a18..d14e1ff5b9 100644 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -1790,7 +1790,7 @@ sub udp_server ($$) { log_message ('udp server', 'Received signal from '.$hishost); kill 'SIGINT' , $parent_pid; } - elsif ($newmsg =~ /PROCESS START (.*)/){ + elsif ($newmsg =~ /START PROCESS (.*)/){ my $process_name = $1; $process_name =~ s/^\s*//g; $process_name =~ s/\s*$//g; @@ -1804,7 +1804,7 @@ sub udp_server ($$) { log_message ('udp server', "Attempt to start unknown process $process_name from $hishost"); } } - elsif ($newmsg =~ /PROCESS STOP (.*)/){ + elsif ($newmsg =~ /STOP PROCESS (.*)/){ my $process_name = $1; $process_name =~ s/^\s*//g; $process_name =~ s/\s*$//g;