[libcalamares] coding-style, logging in calautomount

main
Adriaan de Groot 4 years ago
parent 3150785ff1
commit d74bdbcfd0

@ -28,11 +28,13 @@ static const char usage[] = "Usage: calautomount <-e|-d>\n"
#include "AutoMount.h"
#include "Sync.h"
#include "utils/Logger.h"
#include <QCoreApplication>
#include <QDebug>
int main(int argc, char **argv)
int
main( int argc, char** argv )
{
QCoreApplication app( argc, argv );
@ -42,6 +44,8 @@ int main(int argc, char **argv)
return 1;
}
Logger::setupLogfile();
Logger::setupLogLevel( Logger::LOGDEBUG );
CalamaresUtils::Partition::automountDisable( argv[ 1 ][ 1 ] == 'd' );
return 0;

Loading…
Cancel
Save