diff options
author | zsdc <taras@vyos.io> | 2023-02-02 12:00:07 +0200 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2023-02-02 12:00:07 +0200 |
commit | 3a6e77d479da4321b851163490a9b79ef2cef7b8 (patch) | |
tree | 244eb33dd2941d41ffb9ac646a49e23a0ad3641b /src/etc | |
parent | 44bca52113479fcbe12c55a4740dd4669d2b7856 (diff) | |
download | vyos-1x-3a6e77d479da4321b851163490a9b79ef2cef7b8.tar.gz vyos-1x-3a6e77d479da4321b851163490a9b79ef2cef7b8.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