Fix exit codes on PHP 5

This commit is contained in:
Niklas Keller
2016-03-23 22:05:24 +01:00
parent 8549ff9e46
commit 1c4a2387e9
4 changed files with 10 additions and 5 deletions

View File

@@ -2,6 +2,7 @@
namespace Kelunik\AcmeClient\Commands;
use Amp\CoroutineResult;
use Amp\Dns\Record;
use Exception;
use Kelunik\Acme\AcmeClient;
@@ -113,7 +114,7 @@ class Issue implements Command {
$this->climate->info("Successfully issued certificate, see {$path}/" . reset($domains));
return 0;
yield new CoroutineResult(0);
}
private function solveChallenge(AcmeService $acme, KeyPair $keyPair, $domain, $path) {