Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14076741
D21037.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
832 B
Referenced Files
None
Subscribers
None
D21037.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D21037: When "ArcanistRuntime" exits with a nonzero exit code, emit that exit code
Attached
Detach File
Event Timeline
Log In to Comment