diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2007-10-29 15:55:58 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2007-10-29 15:55:58 -0700 |
commit | 386653f4d9af2cbb1124aaba76ce2873e94cfd1f (patch) | |
tree | f56f0224f8b23992bba0038fbf59eea22980726f /src/set.c | |
parent | 650699ea3d06e36390bd06a848ce493827c02e1e (diff) | |
download | vyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.tar.gz vyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.zip |
redirect output by default
Diffstat (limited to 'src/set.c')
-rw-r--r-- | src/set.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |