summaryrefslogtreecommitdiffstats
path: root/storageapi
diff options
context:
space:
mode:
Diffstat (limited to 'storageapi')
-rw-r--r--storageapi/src/vespa/storageapi/app/getbucketid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storageapi/src/vespa/storageapi/app/getbucketid.cpp b/storageapi/src/vespa/storageapi/app/getbucketid.cpp
index 25c2fd2fc37..4f6552ac3f0 100644
--- a/storageapi/src/vespa/storageapi/app/getbucketid.cpp
+++ b/storageapi/src/vespa/storageapi/app/getbucketid.cpp
@@ -7,7 +7,7 @@ int main(int argc, char** argv)
{
if (argc != 2) {
std::cerr << "Usage: getbucketid <documentid>\n";
- exit(1);
+ return 1;
}
document::BucketIdFactory factory;
document::BucketId id = factory.getBucketId(document::DocumentId(argv[1]));