summaryrefslogtreecommitdiff
path: root/cpp/src/IcePack/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePack/Client.cpp')
-rw-r--r--cpp/src/IcePack/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePack/Client.cpp b/cpp/src/IcePack/Client.cpp
index af13f9c42d7..83c06679c20 100644
--- a/cpp/src/IcePack/Client.cpp
+++ b/cpp/src/IcePack/Client.cpp
@@ -161,7 +161,7 @@ Client::run(int argc, char* argv[])
int status = EXIT_SUCCESS;
- if(argc < 2) // No files given
+ if(args.empty()) // No files given
{
if(!commands.empty()) // Commands were given
{