mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-09 09:47:11 +00:00
vtysh -f needs to flock the file
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-10428
This commit is contained in:
parent
2fcc254eed
commit
8f6899f25b
@ -422,7 +422,9 @@ main (int argc, char **argv, char **env)
|
|||||||
|
|
||||||
if (inputfile)
|
if (inputfile)
|
||||||
{
|
{
|
||||||
|
vtysh_flock_config (inputfile);
|
||||||
ret = vtysh_read_config(inputfile);
|
ret = vtysh_read_config(inputfile);
|
||||||
|
vtysh_unflock_config ();
|
||||||
exit(ret);
|
exit(ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user