diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-08-10 14:27:49 +1000 |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-08-10 14:34:53 +1000 |
commit | 341ba562a81c4be1264020c207a940d5c7fd5de7 (patch) | |
tree | b97742b0c5994a09be121b0bfe46b84fc3a46f8f /tools/checksdk | |
parent | e54e4f19ec2fd06f9d383b2cd83a565479e3cced (diff) |
Make checksdk give a nonzero exit code when it's asked for an SDK which
isn't available.
Reviewed-by: Michael Goddard
Diffstat (limited to 'tools/checksdk')
-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 6322eb7bf4..b36aa3286f 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; +} |