aboutsummaryrefslogtreecommitdiff
path: root/src/or/control.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/control.c')
-rw-r--r--src/or/control.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/control.c b/src/or/control.c
index f847cfee2..8e0c1aeb6 100644
--- a/src/or/control.c
+++ b/src/or/control.c
@@ -373,11 +373,10 @@ handle_control_saveconf(connection_t *conn, uint16_t len,
const char *body)
{
if (save_current_config()<0) {
- send_control_done(conn);
- } else {
send_control_error(conn, ERR_INTERNAL,
"Unable to write configuration to disk.");
}
+ send_control_done(conn);
return 0;
}