diff options
-rw-r--r-- | pathd/path_ted.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathd/path_ted.c b/pathd/path_ted.c index 270c664da..7afa1468a 100644 --- a/pathd/path_ted.c +++ b/pathd/path_ted.c @@ -385,7 +385,7 @@ DEFUN (no_path_ted, "Disable the TE Database functionality\n") /* clang-format on */ { - if (ted_state_g.enabled) { + if (!ted_state_g.enabled) { PATH_TED_DEBUG("%s: PATHD-TED: OFF -> OFF", __func__); return CMD_SUCCESS; } |