summaryrefslogtreecommitdiff
path: root/cpp/src/IceStorm/IceStormDB.cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-03-17 11:44:37 -0400
committerJoe George <joe@zeroc.com>2016-03-17 11:44:37 -0400
commitdb1006f76622d1dd995bc1e2c1fc761c6ac7d7c2 (patch)
tree3c05d7f841a1585360d0a6450748fd6dc26b050c /cpp/src/IceStorm/IceStormDB.cpp
parentfixing .gitignore in checksum test (diff)
parentUpdate Ice Builder for Gradle version to 1.2.1 (diff)
downloadice-db1006f76622d1dd995bc1e2c1fc761c6ac7d7c2.tar.bz2
ice-db1006f76622d1dd995bc1e2c1fc761c6ac7d7c2.tar.xz
ice-db1006f76622d1dd995bc1e2c1fc761c6ac7d7c2.zip
Merge remote-tracking branch 'origin/3.6'
Diffstat (limited to 'cpp/src/IceStorm/IceStormDB.cpp')
-rw-r--r--cpp/src/IceStorm/IceStormDB.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/IceStorm/IceStormDB.cpp b/cpp/src/IceStorm/IceStormDB.cpp
index 2c661b4531c..d6d29630fa5 100644
--- a/cpp/src/IceStorm/IceStormDB.cpp
+++ b/cpp/src/IceStorm/IceStormDB.cpp
@@ -152,8 +152,7 @@ Client::run(int argc, char* argv[])
return EXIT_FAILURE;
}
- StringSeq files = IcePatch2Internal::readDirectory(dbPath);
- if(!files.empty())
+ if(!IceUtilInternal::isEmptyDirectory(dbPath))
{
cerr << argv[0] << ": output directory is not empty: " << dbPath << endl;
return EXIT_FAILURE;