diff options
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] = ""; |