From 632af24eb8ecbc157bfcb178511c17be2fea7486 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 11 Jan 2013 21:49:36 +0000 Subject: [PATCH] Set process return code of 1 in set-xcode-analyzer when Xcode needs to be quit. Fixes . llvm-svn: 172256 --- clang/tools/scan-build/set-xcode-analyzer | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/tools/scan-build/set-xcode-analyzer b/clang/tools/scan-build/set-xcode-analyzer index a32e6762d9e1..3076b39da045 100755 --- a/clang/tools/scan-build/set-xcode-analyzer +++ b/clang/tools/scan-build/set-xcode-analyzer @@ -76,7 +76,7 @@ def main(): for x in NSWorkspace.sharedWorkspace().runningApplications(): if x.localizedName().find("Xcode") >= 0: print "(-) You must quit Xcode first before modifying its configuration files." - return + sys.exit(1) isBuiltinAnalyzer = False if options.path: