fix: Removed group checking since the systemd acl can take care of it.

This commit is contained in:
codestation
2016-04-24 18:07:31 -04:30
parent d449a6ae95
commit 88dc196d5c
5 changed files with 3 additions and 64 deletions

View File

@@ -95,10 +95,6 @@ void HeadlessManager::start()
QSettings settings;
if(!settings.value("disableUSB", false).toBool()) {
if(!belongsToGroup("vitamtp"))
qCritical() << tr("This user doesn't belong to the vitamtp group, there could be a problem while reading the USB bus.");
usb_thread = new QThread();
client = new CmaClient(m_db);
usb_thread->setObjectName("usb_thread");