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/delete.c | |
parent | 650699ea3d06e36390bd06a848ce493827c02e1e (diff) | |
download | vyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.tar.gz vyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.zip |
redirect output by default
Diffstat (limited to 'src/delete.c')
-rw-r--r-- | src/delete.c | 4 |
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); |