diff options
author | Ted Kremenek <kremenek@apple.com> | 2013-01-11 21:49:36 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2013-01-11 21:49:36 +0000 |
commit | f64c18ac9808c0e7baaf54f35803eaa6cd0e49bc (patch) | |
tree | 084a593e6c583de521f2e6aee2c8d453eb489b88 | |
parent | 67015ed2f40d6f69ee9e15d79aa88530f4b4afe2 (diff) |
Set process return code of 1 in set-xcode-analyzer when Xcode needs to be quit. Fixes <rdar://problem/12983031>.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172256 91177308-0d34-0410-b5e6-96231b3b80d8
-rwxr-xr-x | tools/scan-build/set-xcode-analyzer | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scan-build/set-xcode-analyzer b/tools/scan-build/set-xcode-analyzer index a32e6762d9..3076b39da0 100755 --- a/tools/scan-build/set-xcode-analyzer +++ b/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: |