summaryrefslogtreecommitdiff
path: root/noncore/unsupported/oipkg/main.cpp
Side-by-side diff
Diffstat (limited to 'noncore/unsupported/oipkg/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/oipkg/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/unsupported/oipkg/main.cpp b/noncore/unsupported/oipkg/main.cpp
index 4af11df..d98bcaa 100644
--- a/noncore/unsupported/oipkg/main.cpp
+++ b/noncore/unsupported/oipkg/main.cpp
@@ -10,7 +10,7 @@ int main( int argc, char ** argv )
{
debugLevel = 2;
- if (argc > 0)
+ if (argc > 1)
{
debugLevel = QString ( argv[1] ).toInt();
qDebug("setting debug level to %i",debugLevel);