Page MenuHomePhabricator

D21037.diff
No OneTemporary

D21037.diff

diff --git a/bin/arc b/bin/arc
--- a/bin/arc
+++ b/bin/arc
@@ -7,4 +7,4 @@
declare(ticks = 1);
}
-return require_once dirname(__DIR__).'/support/init/init-arcanist.php';
+require_once dirname(__DIR__).'/support/init/init-arcanist.php';
diff --git a/bin/phage b/bin/phage
--- a/bin/phage
+++ b/bin/phage
@@ -7,4 +7,4 @@
declare(ticks = 1);
}
-return require_once dirname(__DIR__).'/support/init/init-arcanist.php';
+require_once dirname(__DIR__).'/support/init/init-arcanist.php';
diff --git a/support/init/init-arcanist.php b/support/init/init-arcanist.php
--- a/support/init/init-arcanist.php
+++ b/support/init/init-arcanist.php
@@ -3,4 +3,6 @@
require_once dirname(__FILE__).'/init-script.php';
$runtime = new ArcanistRuntime();
-return $runtime->execute($argv);
+$err = $runtime->execute($argv);
+
+exit($err);

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 7:31 PM (14 h, 59 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6775700
Default Alt Text
D21037.diff (832 B)

Event Timeline