fixed utf8 problem in firejail --tree

This commit is contained in:
netblue30 2015-11-13 20:27:05 -05:00
parent 4a8a6eff0e
commit 86c3ad5ea5

View file

@ -178,8 +178,8 @@ char *pid_proc_cmdline(const pid_t pid) {
for (i = 0; i < len; i++) {
if (buffer[i] == '\0')
buffer[i] = ' ';
if (buffer[i] >= 0x80) // execv in progress!!!
return NULL;
// if (buffer[i] >= 0x80) // execv in progress!!!
// return NULL;
}
// return a malloc copy of the command line