summaryrefslogtreecommitdiffabout
path: root/src/binlogsel.c
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-16 14:21:01 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-10-16 14:21:01 (GMT)
commit57d1cbccf5bfb96831501519825e462580b0affe (patch) (side-by-side diff)
tree039a8df2c9a43dfca14a428a1e4150f4d473bec5 /src/binlogsel.c
parent099f972e4537a84e9b19abdfc43baf78081e4e09 (diff)
downloadvmod-binlog-57d1cbccf5bfb96831501519825e462580b0affe.tar.gz
vmod-binlog-57d1cbccf5bfb96831501519825e462580b0affe.tar.bz2
Minor change.
* src/binlogsel.c (main): Fix argument consistency check.
Diffstat (limited to 'src/binlogsel.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/binlogsel.c2
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)
argv += optind;
if (argc) {
- if (pattern || directory) {
+ if (pattern) {
error("either files or pattern (-p) must be given, "
"but not both");
exit(1);

Return to:

Send suggestions and report system problems to the System administrator.