diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-06-02 17:55:00 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-06-02 17:55:00 -0700 |
commit | 80369a816eea6fd86e3e11bd877673ec4d12d7d2 (patch) | |
tree | 84f0762a5d2e977a06c6681f0ca327f220c8b954 /src/delete.c | |
parent | 1291aa7736110abc2784d969aaccc48b53ad3657 (diff) | |
download | vyatta-cfg-80369a816eea6fd86e3e11bd877673ec4d12d7d2.tar.gz vyatta-cfg-80369a816eea6fd86e3e11bd877673ec4d12d7d2.zip |
simplify output init
Diffstat (limited to 'src/delete.c')
-rw-r--r-- | src/delete.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/delete.c b/src/delete.c index 65dd67e..f2d3d31 100644 --- a/src/delete.c +++ b/src/delete.c @@ -8,8 +8,6 @@ #include "cli_val.h" #include "cli_objects.h" -extern char *cli_operation_name; - static void remove_rf(boolean do_umount) { char *command = NULL; @@ -150,9 +148,7 @@ int main(int argc, char **argv) /* this is needed before calling certain glib functions */ g_type_init(); - cli_operation_name = "Delete"; - - if (initialize_output() == -1) { + if (initialize_output("Delete") == -1) { bye("can't initialize output\n"); } |