summaryrefslogtreecommitdiff
path: root/src/set.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-29 15:55:58 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-29 15:55:58 -0700
commit386653f4d9af2cbb1124aaba76ce2873e94cfd1f (patch)
treef56f0224f8b23992bba0038fbf59eea22980726f /src/set.c
parent650699ea3d06e36390bd06a848ce493827c02e1e (diff)
downloadvyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.tar.gz
vyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.zip
redirect output by default
Diffstat (limited to 'src/set.c')
-rw-r--r--src/set.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/set.c b/src/set.c
index 566dfe0..39d4a2f 100644
--- a/src/set.c
+++ b/src/set.c
@@ -94,6 +94,10 @@ int main(int argc, char **argv)
boolean need_mod = FALSE, not_new = FALSE;
boolean empty_val = FALSE;
+ if (initialize_output() == -1) {
+ exit(-1);
+ }
+
dump_log( argc, argv);
init_edit();
last_tag = FALSE;