From 2db99fa49b538e230f2c606d1004871111ea2bf6 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 4 Jan 2002 22:30:00 +0000 Subject: [PATCH] Missed error return is can_rename fails. Jeremy. --- source/smbd/reply.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 9e6f8d24c21..c67ce357c65 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -3130,6 +3130,7 @@ directory = %s, newname = %s, newname_last_component = %s, is_8_3 = %d\n", if (!NT_STATUS_IS_OK(error)) { DEBUG(3,("rename_internals: Error %s rename %s -> %s\n", get_nt_error_msg(error), directory,newname)); + return error; } /*