projects
/
monkeysphere-validation-agent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80170d4
)
return 100 from msva-query-agent if unable to contact msva
author
Jameson Rollins
<jrollins@finestructure.net>
Fri, 31 Dec 2010 06:39:17 +0000
(
01:39
-0500)
committer
Jameson Rollins
<jrollins@finestructure.net>
Fri, 31 Dec 2010 06:39:17 +0000
(
01:39
-0500)
msva-query-agent
patch
|
blob
|
history
diff --git
a/msva-query-agent
b/msva-query-agent
index be085317199fec0cd5419a95dc1d209e69ce6aaf..7383db52c7d2654ecdb82e89ff745e2e9a8074a2 100755
(executable)
--- a/
msva-query-agent
+++ b/
msva-query-agent
@@
-74,10
+74,15
@@
if (defined $ret) {
$client->log('info', "valid: %s\n", $ret->{valid});
$client->log('info', "server: %s\n", $ret->{server});
printf("%s", $ret->{message});
- exit 0
- if ($ret->{valid});
+ if ($ret->{valid}) {
+ exit 0
+ } else {
+ exit 1;
+ }
+} else {
+ printf("%s", $status);
+ exit 100;
}
-exit 1;
__END__