summaryrefslogtreecommitdiff
path: root/lib/vty.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.c')
-rw-r--r--lib/vty.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/vty.c b/lib/vty.c
index 54bbef65a9..7ced104014 100644
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -2399,7 +2399,7 @@ vty_read_config (char *config_file,
{
fprintf (stderr, "%s: failed to open configuration file %s: %s\n",
__func__, config_default_dir, safe_strerror (errno));
-
+
confp = vty_use_backup_config (config_default_dir);
if (confp)
{
@@ -2409,10 +2409,10 @@ vty_read_config (char *config_file,
else
{
fprintf (stderr, "can't open configuration file [%s]\n",
- config_default_dir);
- exit (1);
+ config_default_dir);
+ exit (1);
}
- }
+ }
else
fullpath = config_default_dir;
}