From 3185ca2d9599de18bbdd18069d411c1d775d1535 Mon Sep 17 00:00:00 2001 From: Yash Sharma Date: Sun, 6 Aug 2023 17:43:24 -0700 Subject: Running missing scripts exits with non-0 (#4026) Co-authored-by: Yash Sharma --- src/cli/run_command.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cli') diff --git a/src/cli/run_command.zig b/src/cli/run_command.zig index 6a559b342..106e87a3c 100644 --- a/src/cli/run_command.zig +++ b/src/cli/run_command.zig @@ -1134,7 +1134,7 @@ pub const RunCommand = struct { if (comptime log_errors) { Output.prettyError("error: missing script \"{s}\"\n", .{script_name_to_search}); - Global.exit(0); + Global.exit(1); } return false; -- cgit v1.2.3