mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 22:17:54 +00:00
Fixed bug #45144: Does not work on Solaris "zone" containers.
This commit is contained in:
parent
87951b34d1
commit
03a69b38ce
|
@ -3707,6 +3707,10 @@ sub which {
|
||||||
::debug("init", "shell path $shellpath\n");
|
::debug("init", "shell path $shellpath\n");
|
||||||
$shellpath and last;
|
$shellpath and last;
|
||||||
}
|
}
|
||||||
|
if($testpid == $parent_of_ref->{$testpid}) {
|
||||||
|
# In Solaris zones, the PPID of the zsched process is itself
|
||||||
|
last;
|
||||||
|
}
|
||||||
$testpid = $parent_of_ref->{$testpid};
|
$testpid = $parent_of_ref->{$testpid};
|
||||||
}
|
}
|
||||||
return $shellpath;
|
return $shellpath;
|
||||||
|
|
Loading…
Reference in a new issue