From efd5153d03b20b1730f7b633778d4196dfb0a64e Mon Sep 17 00:00:00 2001 From: Ico Doornekamp Date: Sat, 13 Jun 2015 23:03:08 +0200 Subject: [PATCH] add error message to 'duc ls' if path not found --- src/duc/cmd-ls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/duc/cmd-ls.c b/src/duc/cmd-ls.c index c11d9660..6894e793 100644 --- a/src/duc/cmd-ls.c +++ b/src/duc/cmd-ls.c @@ -186,6 +186,7 @@ static int ls_main(duc *duc, int argc, char **argv) duc_dir *dir = duc_dir_open(duc, path); if(dir == NULL) { + duc_log(duc, DUC_LOG_FTL, "%s", duc_strerror(duc)); return -1; }