Skip to content
Browse files

Fix enabling the flash plugin when adding new users via GUI

  • Loading branch information...
1 parent 57e8c23 commit 7374c7b5d611c9612aa4eeb8f8db7f8f0a8cf824 @kmoore134 kmoore134 committed Nov 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-usermanager/usermanagerback.cpp
View
2 src-qt4/pc-usermanager/usermanagerback.cpp
@@ -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());
}

0 comments on commit 7374c7b

Please sign in to comment.
Something went wrong with that request. Please try again.