summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarat Nepomnyashy <marat@vyatta.com>2008-01-03 20:31:30 -0800
committerMarat Nepomnyashy <marat@vyatta.com>2008-01-03 20:31:30 -0800
commitba9613a69c3fde8c875342f8976c0c7ac80b3b00 (patch)
tree7bad717c06fde85b2818eb14128fcb799e250272 /src
parent7605a8f6472ded387ffb311d1400b084011dfb74 (diff)
downloadvyatta-op-vpn-ba9613a69c3fde8c875342f8976c0c7ac80b3b00.tar.gz
vyatta-op-vpn-ba9613a69c3fde8c875342f8976c0c7ac80b3b00.zip
Do not print 'no xml reason: ' when no XML.
Diffstat (limited to 'src')
-rw-r--r--src/command_proc_show_vpn.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_proc_show_vpn.cc b/src/command_proc_show_vpn.cc
index b81a8ce..252c27e 100644
--- a/src/command_proc_show_vpn.cc
+++ b/src/command_proc_show_vpn.cc
@@ -62,7 +62,7 @@ int main(int argc, char ** argv) {
}
if (xml_out.empty() == true) {
- cout << "no xml reason: " << reason << endl;
+ cout << reason << endl;
exit(0);
}