minor fixez
This commit is contained in:
parent
4576961ae6
commit
b3eef2fe18
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE QtCreatorProject>
|
<!DOCTYPE QtCreatorProject>
|
||||||
<!-- Written by QtCreator 4.8.2, 2020-06-03T22:37:50. -->
|
<!-- Written by QtCreator 4.8.2, 2020-06-10T21:01:49. -->
|
||||||
<qtcreator>
|
<qtcreator>
|
||||||
<data>
|
<data>
|
||||||
<variable>EnvironmentId</variable>
|
<variable>EnvironmentId</variable>
|
||||||
|
@ -113,7 +113,7 @@ int session_manager::remove(){
|
|||||||
std::string session_manager::appli_command(char comand[], char* n_package){
|
std::string session_manager::appli_command(char comand[], char* n_package){
|
||||||
char** args=new char*[5];
|
char** args=new char*[5];
|
||||||
args[0]="sudo";
|
args[0]="sudo";
|
||||||
args[1]=strcat(&this->env[0],"emerge");
|
args[1]=&(std::string(this->env)+std::string("emerge"))[0];
|
||||||
args[2]=comand;
|
args[2]=comand;
|
||||||
args[3]=n_package;
|
args[3]=n_package;
|
||||||
args[4]=nullptr;
|
args[4]=nullptr;
|
||||||
|
Loading…
Reference in New Issue
Block a user