diff options
| author | Christian Hopps <chopps@labn.net> | 2023-05-23 08:35:56 -0400 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2023-05-30 02:10:20 -0400 |
| commit | 51941c1916f6ae8a01c40cf325ba2ae9aa9dad0b (patch) | |
| tree | 65298ce21b31729846532e05e896a6a97801be66 /lib | |
| parent | 8611886d52f6ca1b741bbf639809a6cad9ec6879 (diff) | |
mgmtd: address review comments
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/vty.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2734,10 +2734,8 @@ FILE *vty_open_config(const char *config_file, char *config_default_dir) if (strstr(config_default_dir, "vtysh") == NULL) { ret = stat(integrate_default, &conf_stat); - if (ret >= 0) { - // read_success = true; + if (ret >= 0) goto tmp_free_and_out; - } } #endif /* VTYSH */ confp = fopen(config_default_dir, "r"); |
