mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-02 13:22:02 +00:00
[common] proctitle: actually update argv to cloned block
This commit is contained in:
@@ -87,7 +87,7 @@ void lgInitProcessTitle(int argc, char ***pargv)
|
|||||||
initialized = true;
|
initialized = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
*pargv = argv;
|
*pargv = newArgv;
|
||||||
|
|
||||||
char * envEnd = end;
|
char * envEnd = end;
|
||||||
int vars = extendContiguous(&envEnd, environ);
|
int vars = extendContiguous(&envEnd, environ);
|
||||||
|
|||||||
Reference in New Issue
Block a user