mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-11-14 03:08:58 +00:00
Merge 204100befb
into bb3df1e440
This commit is contained in:
commit
003415fcac
@ -49,13 +49,13 @@ static void set_own_dir(const char *argv0) {
|
||||
size_t l = strlen(argv0);
|
||||
while(l && argv0[l - 1] != '/')
|
||||
l--;
|
||||
if(l == 0)
|
||||
if(l == 0) {
|
||||
#ifdef SUPER_SECURE
|
||||
memcpy(own_dir, "/dev/null/", 11);
|
||||
#else
|
||||
memcpy(own_dir, ".", 2);
|
||||
#endif
|
||||
else {
|
||||
} else {
|
||||
memcpy(own_dir, argv0, l - 1);
|
||||
own_dir[l] = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user