diff options
Diffstat (limited to '')
-rw-r--r-- | partitionmanager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp index ebd8c9675..72eb43dbf 100644 --- a/partitionmanager.cpp +++ b/partitionmanager.cpp @@ -1433,6 +1433,10 @@ int TWPartitionManager::Fix_Permissions(void) { fixPermissions perms; result = perms.fixPerms(true, false); +#ifdef HAVE_SELINUX + if (result == 0 && DataManager::GetIntValue("tw_fixperms_restorecon") == 1) + result = perms.fixContexts(); +#endif UnMount_Main_Partitions(); gui_print("Done.\n\n"); return result; |