summaryrefslogtreecommitdiff
path: root/cc
diff options
context:
space:
mode:
author Dan Albert <danalbert@google.com> 2023-10-05 21:43:41 +0000
committer Dan Albert <danalbert@google.com> 2023-10-05 21:45:41 +0000
commit5b2fd587c0fedb7b3e6a4806bd549398b40e8570 (patch)
tree7521307e282dca19f28205c2969f6f0054b252a5 /cc
parentc774c92f5747f89b8dabb886afd0f477d1ed1f03 (diff)
Fix error message to still be an error.
Bug: http://b/156513478#comment43 Test: m ndk, actually checked that it actually failed Change-Id: I1951ddfee3bef7d06ab4561e445d75358e5a4abf
Diffstat (limited to 'cc')
-rw-r--r--cc/ndk_library.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/ndk_library.go b/cc/ndk_library.go
index 2064b1b41..49365598f 100644
--- a/cc/ndk_library.go
+++ b/cc/ndk_library.go
@@ -61,7 +61,7 @@ var (
// because we don't want to spam the build output with "nothing
// changed" messages, so redirect output message to $out, and if
// changes were detected print the output and fail.
- Command: "$stgdiff $args --stg $in -o $out || (cat $out && false; echo 'Run $$ANDROID_BUILD_TOP/development/tools/ndk/update_ndk_abi.sh to update the ABI dumps.')",
+ Command: "$stgdiff $args --stg $in -o $out || (cat $out && echo 'Run $$ANDROID_BUILD_TOP/development/tools/ndk/update_ndk_abi.sh to update the ABI dumps.' && false)",
CommandDeps: []string{"$stgdiff"},
}, "args")