From 764a205fe9676afcdb94998b5e553d650bda86ba Mon Sep 17 00:00:00 2001 From: Anastasis Grammenos Date: Thu, 4 Oct 2018 17:20:37 +0300 Subject: Errlog with cklist, verbose flag, bugfix in search --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/actions.c') diff --git a/src/actions.c b/src/actions.c index 2a94427..337911f 100644 --- a/src/actions.c +++ b/src/actions.c @@ -209,7 +209,7 @@ int run_SEARCH(UserOpt *opt, Conf *conf) { cklist *paths = list_make_new(); list_get_paths(&db, paths, 0); close_DB(&db); - if (list_size(paths)) { + if (list_size(paths) && list_size(opt->args)) { do { FILE *cmd; char result[STR_L] = ""; -- cgit v1.2.3