diff options
author | zsdc <taras@vyos.io> | 2023-02-02 12:00:07 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2023-02-02 13:01:30 +0200 |
commit | 7b36c363cd5b0168bd83c399f50a0a360ba3ee58 (patch) | |
tree | 2a6a645e63ab14e6a979289979cf5677c3aa211d /src/etc | |
parent | bdd77b05d1fda6d2a1e4d10918ee52d913eff812 (diff) | |
download | vyos-1x-7b36c363cd5b0168bd83c399f50a0a360ba3ee58.tar.gz vyos-1x-7b36c363cd5b0168bd83c399f50a0a360ba3ee58.zip |
login: T4975: Fixed broken CLI commands
User profile files are not saved to disk after configuration is fully applied.
Because of this, after a fast system reset, profile files can be empty, and CLI
is broken.
This fix adds a `sync()` call after the user's configuration, which should
protect from data loss and fix the problem with profiles.
Diffstat (limited to 'src/etc')
0 files changed, 0 insertions, 0 deletions