From 39fe74388072f4f4a340cdadba6d15dac5d63575 Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Sat, 30 Oct 2010 10:28:06 -0400 Subject: [PATCH] print msva return message to stdout in query-agent msva-query-agent is not using stdout. I believe that stdout is the appropriate place to return the query status message from the server. --- msva-query-agent | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msva-query-agent b/msva-query-agent index 1eaff50..104691b 100755 --- a/msva-query-agent +++ b/msva-query-agent @@ -41,8 +41,8 @@ my ($status,$ret) = $client->query_agent($context,$peer,$pkctype,$pkcdata); $client->log('info', "status: %s\n", $status); if (defined $ret) { $client->log('info', "valid: %s\n", $ret->{valid}); - $client->log('fatal', "message: %s\n", $ret->{message}); $client->log('info', "server: %s\n", $ret->{server}); + printf("%s\n", $ret->{message}); exit 0 if ($ret->{valid}); } -- 2.26.2