diff options
author | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-04 17:20:37 +0300 |
---|---|---|
committer | Anastasis Grammenos <anastasis.gramm2@gmail.com> | 2018-10-04 17:20:37 +0300 |
commit | 764a205fe9676afcdb94998b5e553d650bda86ba (patch) | |
tree | d3d0650a60218e6a470a7a9d9e0bfbf9860a8833 /src/actions.c | |
parent | 9c24e438b689af042672182f6d87f824ef435492 (diff) | |
download | ck-764a205fe9676afcdb94998b5e553d650bda86ba.tar.gz ck-764a205fe9676afcdb94998b5e553d650bda86ba.tar.bz2 ck-764a205fe9676afcdb94998b5e553d650bda86ba.zip |
Errlog with cklist, verbose flag, bugfix in search
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 2 |
1 files changed, 1 insertions, 1 deletions
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] = ""; |