summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/server')
-rw-r--r--src/server/events/CreatePort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/events/CreatePort.cpp b/src/server/events/CreatePort.cpp
index 0b58ee89..4988c480 100644
--- a/src/server/events/CreatePort.cpp
+++ b/src/server/events/CreatePort.cpp
@@ -91,7 +91,7 @@ CreatePort::pre_process()
} else if (_path.is_root()) {
return Event::pre_process_done(Status::BAD_URI, _path);
} else if (_engine.store()->get(_path)) {
- return Event::pre_process_done(_status, _path);
+ return Event::pre_process_done(Status::EXISTS, _path);
}
const Raul::Path parent_path = _path.parent();