Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Fix enabling the flash plugin when adding new users via GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Moore committed Nov 9, 2013
1 parent 57e8c23 commit 7374c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-qt4/pc-usermanager/usermanagerback.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ bool UserManagerBackend::commit()

if ( chroot.isEmpty() ) {
qDebug() << "Enabling Flash Plugin for " << userIt->getUsername();
QString flashCmd = "su -m " + userIt->getUsername() + " -c \"flashpluginctl on\"";
QString flashCmd = "su " + userIt->getUsername() + " -c \"flashpluginctl on\"";
system(flashCmd.toLatin1());
}

Expand Down

0 comments on commit 7374c7b

Please sign in to comment.