mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +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
|
||||
{
|
||||
$binary = \trim(`which $name`);
|
||||
$binary = \trim((string) `which $name`);
|
||||
if ($binary && \is_executable($binary)) {
|
||||
return $binary;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue