summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/command.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c
index 3c429ce1a7..39ac54d61e 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -1319,9 +1319,8 @@ DEFUN (config_write,
struct vty *file_vty;
struct stat conf_stat;
- // if command was 'write terminal', 'write memory' or 'show running-config'
+ // if command was 'write terminal' or 'show running-config'
if (argc == 2 && (!strcmp(argv[idx_type]->text, "terminal") ||
- !strcmp(argv[idx_type]->text, "memory") ||
!strcmp(argv[0]->text, "show")))
{
if (vty->type == VTY_SHELL_SERV)