summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/cppunittester/cppunittester.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/cppunittester/cppunittester.cxx b/sal/cppunittester/cppunittester.cxx
index e59fe5ddbbc4..6d1291d7087a 100644
--- a/sal/cppunittester/cppunittester.cxx
+++ b/sal/cppunittester/cppunittester.cxx
@@ -48,7 +48,7 @@
#include "sal/main.h"
SAL_IMPLEMENT_MAIN() {
- if (rtl_getAppCommandArgCount() != 1) {
+ if (rtl_getAppCommandArgCount() < 1) {
std::cerr << "Usage: cppunittester <shared-library-path>" << std::endl;
return EXIT_FAILURE;
}