summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/events/CreatePatchEvent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/events/CreatePatchEvent.cpp')
-rw-r--r--src/libs/engine/events/CreatePatchEvent.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libs/engine/events/CreatePatchEvent.cpp b/src/libs/engine/events/CreatePatchEvent.cpp
index 6279732e..64fe5c63 100644
--- a/src/libs/engine/events/CreatePatchEvent.cpp
+++ b/src/libs/engine/events/CreatePatchEvent.cpp
@@ -134,9 +134,10 @@ CreatePatchEvent::post_process()
msg.append(_path);
_responder->respond_error(msg);
} else if (_error == OBJECT_EXISTS) {
- string msg = "Unable to create patch: ";
+ _responder->respond_ok();
+ /*string msg = "Unable to create patch: ";
msg.append(_path).append(" already exists.");
- _responder->respond_error(msg);
+ _responder->respond_error(msg);*/
} else if (_error == PARENT_NOT_FOUND) {
string msg = "Unable to create patch: Parent ";
msg.append(Path(_path).parent()).append(" not found.");