summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-21 16:52:58 -0400
committerJune McEnroe <june@causal.agency>2020-05-21 16:52:58 -0400
commit80dd4af7bdd224679b3c2c17328f6498cd4a15d1 (patch)
tree36e909fd4b80c70ee1c63835768f62100620b282
parentFix dbPrepare errx call (diff)
downloadlitterbox-80dd4af7bdd224679b3c2c17328f6498cd4a15d1.tar.gz
litterbox-80dd4af7bdd224679b3c2c17328f6498cd4a15d1.zip
Fix search expression append
Oops.
-rw-r--r--scoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index e22a08e..59adaff 100644
--- a/scoop.c
+++ b/scoop.c
@@ -470,7 +470,7 @@ int main(int argc, char *argv[]) {
 		}
 	}
 	if (optind < argc) {
-		queryAdd(SQL(search MATCH :search));
+		queryAdd(SQL(AND search MATCH :search));
 		binds[n++] = Bind(":search", argv[optind], 0);
 	}
 	if (limit) {
;id=7769a4f6e94452719e09b8f0c3a1ecca09b55355&follow=1'>Log a message when stopping a service waiting to restart 1.1June McEnroe It's a little annoying to have to special-case this, but otherwise there is no confirmation in the log that the restart won't still happen. 2020-11-10Refactor unveil calls so errors can be reported properlyJune McEnroe 2020-10-27Do not increment signalsJune McEnroe No need to do a read and a write... and it's declared volatile so maybe that's even worse? I don't even know, but there's no point. 2020-10-23Only look up group if one is namedJune McEnroe 2020-10-23Remove default defines of RUNDIR, ETCDIRJune McEnroe 2020-10-23Set shell scripts executable in buildJune McEnroe 2020-10-20Humanize milliseconds if interval is less than 1sJune McEnroe The intervals are configurable in milliseconds so humanize should be able to display at that precision. 2020-10-20Humanize restart intervalJune McEnroe 2020-08-17Document default catsit.conf location on OpenBSD 1.0June McEnroe 2020-08-17Template catsit script with RUNDIRJune McEnroe 2020-08-17Clean up includesJune McEnroe 2020-08-17Log service uptime in statusJune McEnroe