diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-08-10 04:27:49 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-08-10 04:34:53 (GMT) |
commit | 341ba562a81c4be1264020c207a940d5c7fd5de7 (patch) | |
tree | b97742b0c5994a09be121b0bfe46b84fc3a46f8f | |
parent | e54e4f19ec2fd06f9d383b2cd83a565479e3cced (diff) | |
download | Qt-341ba562a81c4be1264020c207a940d5c7fd5de7.zip Qt-341ba562a81c4be1264020c207a940d5c7fd5de7.tar.gz Qt-341ba562a81c4be1264020c207a940d5c7fd5de7.tar.bz2 |
Make checksdk give a nonzero exit code when it's asked for an SDK which
isn't available.
Reviewed-by: Michael Goddard
-rw-r--r-- | tools/checksdk/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/checksdk/main.cpp b/tools/checksdk/main.cpp index 6322eb7..b36aa32 100644 --- a/tools/checksdk/main.cpp +++ b/tools/checksdk/main.cpp @@ -161,5 +161,5 @@ int main(int argc, char **argv) } } qWarning("Could not find specified SDK: %s" , qPrintable(sdkName)); - return 0; -}
\ No newline at end of file + return -1; +} |