diff options
Diffstat (limited to 'vtysh/vtysh_main.c')
-rw-r--r-- | vtysh/vtysh_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vtysh/vtysh_main.c b/vtysh/vtysh_main.c index 3c06eec7e..1d40ab4cc 100644 --- a/vtysh/vtysh_main.c +++ b/vtysh/vtysh_main.c @@ -422,7 +422,9 @@ main (int argc, char **argv, char **env) if (inputfile) { + vtysh_flock_config (inputfile); ret = vtysh_read_config(inputfile); + vtysh_unflock_config (); exit(ret); } |