termux-packages/packages/duc/cmd-ls.c.patch

12 lines
382 B
Diff
Raw Normal View History

2019-11-18 15:26:01 +01:00
diff -uNr duc-1.4.4/src/duc/cmd-ls.c duc-1.4.4.mod/src/duc/cmd-ls.c
--- duc-1.4.4/src/duc/cmd-ls.c 2018-09-08 22:27:41.000000000 +0300
+++ duc-1.4.4.mod/src/duc/cmd-ls.c 2019-02-05 21:37:24.412100024 +0200
@@ -221,6 +221,7 @@
duc_dir *dir = duc_dir_open(duc, path);
if(dir == NULL) {
duc_log(duc, DUC_LOG_FTL, "%s", duc_strerror(duc));
+ return;
}
if(opt_directory) {