aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-16 17:21:01 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-10-16 17:21:01 +0300
commit57d1cbccf5bfb96831501519825e462580b0affe (patch)
tree039a8df2c9a43dfca14a428a1e4150f4d473bec5 /src
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')
-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
@@ -686,13 +686,13 @@ main(int argc, char **argv)
}
argc -= optind;
argv += optind;
if (argc) {
- if (pattern || directory) {
+ if (pattern) {
error("either files or pattern (-p) must be given, "
"but not both");
exit(1);
}
selfilelist(argv);
} else if (pattern) {

Return to:

Send suggestions and report system problems to the System administrator.