diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-16 17:21:01 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-16 17:21:01 +0300 |
commit | 57d1cbccf5bfb96831501519825e462580b0affe (patch) | |
tree | 039a8df2c9a43dfca14a428a1e4150f4d473bec5 | |
parent | 099f972e4537a84e9b19abdfc43baf78081e4e09 (diff) | |
download | vmod-binlog-57d1cbccf5bfb96831501519825e462580b0affe.tar.gz vmod-binlog-57d1cbccf5bfb96831501519825e462580b0affe.tar.bz2 |
Minor change.
* src/binlogsel.c (main): Fix argument consistency check.
-rw-r--r-- | src/binlogsel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/binlogsel.c b/src/binlogsel.c index 173476b..550724c 100644 --- a/src/binlogsel.c +++ b/src/binlogsel.c | |||
@@ -689,7 +689,7 @@ main(int argc, char **argv) | |||
689 | argv += optind; | 689 | argv += optind; |
690 | 690 | ||
691 | if (argc) { | 691 | if (argc) { |
692 | if (pattern || directory) { | 692 | if (pattern) { |
693 | error("either files or pattern (-p) must be given, " | 693 | error("either files or pattern (-p) must be given, " |
694 | "but not both"); | 694 | "but not both"); |
695 | exit(1); | 695 | exit(1); |