Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix enabling the flash plugin when adding new users via GUI

  • Loading branch information...
commit 7374c7b5d611c9612aa4eeb8f8db7f8f0a8cf824 1 parent 57e8c23
@kmoore134 kmoore134 authored
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());
}
Please sign in to comment.
Something went wrong with that request. Please try again.