mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Resolve #578
This commit is contained in:
parent
50ddca2e42
commit
dc5ac7025d
1 changed files with 1 additions and 1 deletions
|
|
@ -1398,7 +1398,7 @@ class GPG
|
||||||
|
|
||||||
private static function findBinary($name) : ?string
|
private static function findBinary($name) : ?string
|
||||||
{
|
{
|
||||||
$binary = \trim(`which $name`);
|
$binary = \trim((string) `which $name`);
|
||||||
if ($binary && \is_executable($binary)) {
|
if ($binary && \is_executable($binary)) {
|
||||||
return $binary;
|
return $binary;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue