summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-02-03 14:28:34 +0000
committerGitHub <noreply@github.com>2023-02-03 14:28:34 +0000
commitb9ba0a67da3f10755780e13b3c15d8c2042ae70d (patch)
tree2a6a645e63ab14e6a979289979cf5677c3aa211d
parentbdd77b05d1fda6d2a1e4d10918ee52d913eff812 (diff)
parent7b36c363cd5b0168bd83c399f50a0a360ba3ee58 (diff)
downloadvyos-1x-b9ba0a67da3f10755780e13b3c15d8c2042ae70d.tar.gz
vyos-1x-b9ba0a67da3f10755780e13b3c15d8c2042ae70d.zip
Merge pull request #1796 from zdc/T4975-equuleus
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 aba10689d..ceca0a14b 100755
--- a/src/conf_mode/system-login.py
+++ b/src/conf_mode/system-login.py
@@ -311,6 +311,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