summaryrefslogtreecommitdiff
path: root/tools/checksdk
diff options
context:
space:
mode:
authorRohan McGovern <rohan.mcgovern@nokia.com>2009-08-10 14:27:49 +1000
committerRohan McGovern <rohan.mcgovern@nokia.com>2009-08-10 14:34:53 +1000
commit341ba562a81c4be1264020c207a940d5c7fd5de7 (patch)
treeb97742b0c5994a09be121b0bfe46b84fc3a46f8f /tools/checksdk
parente54e4f19ec2fd06f9d383b2cd83a565479e3cced (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.cpp4
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;
+}