mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 16:38:32 +00:00
Fixed error detection
This commit is contained in:
parent
3567e32da9
commit
b05ecbb33a
1 changed files with 3 additions and 4 deletions
|
|
@ -142,12 +142,11 @@ $cli
|
|||
|
||||
$stdout = '';
|
||||
$stderr = '';
|
||||
$exit = Console::execute("docker-compose -f {$path}/docker-compose.yml up -d --remove-orphans", null, $stdout, $stderr);
|
||||
|
||||
Console::execute("docker-compose -f {$path}/docker-compose.yml up -d --remove-orphans", null, $stdout, $stderr);
|
||||
|
||||
if ($stderr !== '') {
|
||||
var_dump($stderr);
|
||||
if ($exit !== 0) {
|
||||
Console::error("Failed to install Appwrite dockers");
|
||||
exit($exit);
|
||||
} else {
|
||||
Console::success("Appwrite installed successfully");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue