This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.

View the commit online.

commit bcca877be24de9bf929824214c8d2ca44df44434
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Fri Feb 13 15:21:48 2026 +0000

    fs - cp - dont handle error if ok
---
 src/backends/default/fs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/backends/default/fs.c b/src/backends/default/fs.c
index aa0366e..e053714 100644
--- a/src/backends/default/fs.c
+++ b/src/backends/default/fs.c
@@ -471,7 +471,7 @@ fs_cp(const char *src, const char *dst, Eina_Bool report_err)
   const char *op  = "Copy";
 
   res = fs_cp_rm(src, dst, report_err, EINA_TRUE, EINA_FALSE);
-  if (report_err) _error_handle(src, dst, op, errno);
+  if ((report_err) && (!res)) _error_handle(src, dst, op, errno);
   status_pos(1, src);
   return res;
 }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to