Merge pull request #1587 from jacobbaungard/check_mysql_allow_socket-H

check_mysql: Allow sockets to be specified to -H
This commit is contained in:
Sven Nierlein 2019-03-21 17:42:19 +01:00 committed by GitHub
commit 41d98f708a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -379,6 +379,9 @@ process_arguments (int argc, char **argv)
if (is_host (optarg)) {
db_host = optarg;
}
else if (*optarg == '/') {
db_socket = optarg;
}
else {
usage2 (_("Invalid hostname/address"), optarg);
}