summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-02-03 14:28:06 +0000
committerGitHub <noreply@github.com>2023-02-03 14:28:06 +0000
commitbcee46aaed5b612f39e3b34776d3353a2fd1d42e (patch)
tree244eb33dd2941d41ffb9ac646a49e23a0ad3641b
parent44bca52113479fcbe12c55a4740dd4669d2b7856 (diff)
parent3a6e77d479da4321b851163490a9b79ef2cef7b8 (diff)
downloadvyos-1x-bcee46aaed5b612f39e3b34776d3353a2fd1d42e.tar.gz
vyos-1x-bcee46aaed5b612f39e3b34776d3353a2fd1d42e.zip
Merge pull request #1795 from zdc/T4975-sagitta
login: T4975: Fixed broken CLI commands
-rwxr-xr-xsrc/conf_mode/system-login.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/system-login.py b/src/conf_mode/system-login.py
index e26b81e3d..5297ab939 100755
--- a/src/conf_mode/system-login.py
+++ b/src/conf_mode/system-login.py
@@ -322,6 +322,9 @@ def apply(login):
except Exception as e:
raise ConfigError(f'RADIUS configuration failed: {e}')
+ # sync user data files to disk
+ os.sync()
+
return None