diff options
-rw-r--r-- | src/vty/logging_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/logging_vty.c b/src/vty/logging_vty.c index a6d2f522..e17c7a8a 100644 --- a/src/vty/logging_vty.c +++ b/src/vty/logging_vty.c @@ -315,7 +315,7 @@ gDEFUN(cfg_description, cfg_description_cmd, if (*dptr) talloc_free(*dptr); *dptr = argv_concat(argv, argc, 0); - if (!dptr) + if (!*dptr) return CMD_WARNING; return CMD_SUCCESS; |