From c553f7cf06373432a43c6022d2e8e9c8b4421926 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Tue, 19 Jul 2022 20:15:44 +0100 Subject: [PATCH] build/generate-registry-annotations.php: write to stderr on error --- build/generate-registry-annotations.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/generate-registry-annotations.php b/build/generate-registry-annotations.php index 2d271de98..827ba4880 100644 --- a/build/generate-registry-annotations.php +++ b/build/generate-registry-annotations.php @@ -39,7 +39,8 @@ use function substr; use const SORT_STRING; if(count($argv) !== 2){ - die("Provide a path to process"); + fwrite(STDERR, "Provide a path to process\n"); + exit(1); } /**