Commit b5fdd2a4 authored by ale's avatar ale
Browse files

allow empty queries

parent e375ef72
Pipeline #239 passed with stages
in 1 minute and 16 seconds
......@@ -142,10 +142,6 @@ func main() {
}
queryString := strings.Join(flag.Args(), " ")
if queryString == "" {
log.Fatal("no query specified")
}
if err := query(client, queryString, *syslogFacility, from, to); err != nil {
log.Fatal(err)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment