summaryrefslogtreecommitdiff
path: root/src/delete.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/delete.c
parent650699ea3d06e36390bd06a848ce493827c02e1e (diff)
downloadvyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.tar.gz
vyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.zip
redirect output by default
Diffstat (limited to 'src/delete.c')
-rw-r--r--src/delete.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/delete.c b/src/delete.c
index a825a22..5981923 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -70,6 +70,10 @@ int main(int argc, char **argv)
char *cp, *delp, *endp;
boolean do_umount;
+ if (initialize_output() == -1) {
+ exit(-1);
+ }
+
if (argc < 2) {
fprintf(stderr, "Need to specify the config node to delete\n");
exit(1);