Changeset 3890273


Ignore:
Timestamp:
10/03/13 11:19:01 (14 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1, releng/10.0.2, releng/10.0.3, releng/10.1
Children:
94b18f3
Parents:
72d26c47
Message:

Fix setting flashpluginctl on when the username may have a special char

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-qt4/pc-firstbootgui/firstboot.cpp

    r5e274ef r3890273  
    451451 
    452452  // Enable Flash for the new user 
    453   QString flashCmd = "su -m " + lineUsername->text() + " -c \"flashpluginctl on\""; 
    454   system(flashCmd.toLatin1()); 
     453  QProcess::execute("su", QStringList() << "-m" << lineUsername->text() << "-c" << "/usr/local/bin/flashpluginctl on" ); 
    455454   
    456455  // Encrypt the users home-directory? 
Note: See TracChangeset for help on using the changeset viewer.