diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2009-11-19 23:55:33 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2009-11-19 23:55:33 +0100 |
commit | cc0f9c8e1044335f167b6b87d71dc91dd2f3501b (patch) | |
tree | 74247b621cdde35a03e0be1070dfe3844101ea9e /methods | |
parent | d6c4a9764d052c9755ab934c97c7a84c48ebd618 (diff) |
fix argument check for the rred method
Diffstat (limited to 'methods')
-rw-r--r-- | methods/rred.cc | 2 |
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 { |