summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console/consoled-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/consoled-manager.c b/src/console/consoled-manager.c
index f82f211d42..b288239cae 100644
--- a/src/console/consoled-manager.c
+++ b/src/console/consoled-manager.c
@@ -225,7 +225,7 @@ static int manager_sysview_session_control(Manager *m, sysview_event *event) {
sysview_session_get_name(session));
session_free(s);
sysview_session_set_userdata(session, NULL);
- return -error;
+ return error;
}
return 0;