summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-11-19 23:55:33 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-11-19 23:55:33 +0100
commitcc0f9c8e1044335f167b6b87d71dc91dd2f3501b (patch)
tree74247b621cdde35a03e0be1070dfe3844101ea9e
parentd6c4a9764d052c9755ab934c97c7a84c48ebd618 (diff)
fix argument check for the rred method
-rw-r--r--methods/rred.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/methods/rred.cc b/methods/rred.cc
index 7236efd03..c2d8eb5cf 100644
--- a/methods/rred.cc
+++ b/methods/rred.cc
@@ -530,7 +530,7 @@ public:
* and will write the result to "Testfile.result".
*/
int main(int argc, char *argv[]) {
- if (argc == 0) {
+ if (argc <= 1) {
RredMethod Mth;
return Mth.Run();
} else {