Unverified Kaydet (Commit) e061aaaa authored tarafından Suleyman Poyraz's avatar Suleyman Poyraz

sysconfig sync'ing

üst faead66b
......@@ -110,3 +110,7 @@ def proceed(force=False):
t("cracklib", "/usr/share/cracklib/",
"create-cracklib-dict /usr/share/cracklib/*")
sys.stdout.write("\n")
if ctx.config.values.general.fs_sync:
ctx.ui.info(_("[-] Syncing filesystem to restrain filesystem corruptions.", noln=True)
os.sync()
ctx.ui.info(_("[+] Synced filesystem.", noln=True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment