Skip to content

Commit a762b5f

Browse files
committed
Use exitcode 127 for when init fails
1 parent 9685967 commit a762b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/php/xp/lambda/RunLambda.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function run(): int {
4141
$lambda= $target instanceof Lambda ? [$target, 'process'] : $target;
4242
} catch (Throwable $e) {
4343
Console::$err->writeLine($e);
44-
return 1;
44+
return 127;
4545
}
4646

4747
$status= 0;

0 commit comments

Comments
 (0)