[libcalamares] Code-formatting Sync.*

main
Adriaan de Groot 6 years ago
parent e59b3e8bf5
commit e6b55a1f70

@ -21,7 +21,8 @@
#include "utils/CalamaresUtilsSystem.h"
#include "utils/Logger.h"
void CalamaresUtils::Partition::sync()
void
CalamaresUtils::Partition::sync()
{
auto r = CalamaresUtils::System::runCommand( { "/sbin/udevadm", "settle" }, 10 );

@ -37,13 +37,10 @@ void sync();
/** @brief RAII class for calling sync() */
struct Syncer
{
~Syncer()
{
sync();
}
~Syncer() { sync(); }
};
}
}
} // namespace Partition
} // namespace CalamaresUtils
#endif

Loading…
Cancel
Save