summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/src/versionstr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/versionstr.cc b/server/src/versionstr.cc
index 8c0521f..bfa8bb4 100644
--- a/server/src/versionstr.cc
+++ b/server/src/versionstr.cc
@@ -200,7 +200,7 @@ int main()
std::vector<std::string>::iterator j = refs.begin();
while(i != versions.end()) {
printf("%s should be %s\n", ((std::string)*i).c_str(), j->c_str());
- if(((std::string)*i) != *j) return false;
+ if(((std::string)*i) != *j) return 1;
i++; j++;
}