diff --git a/manager.c b/manager.c
index be58e3fbd9c9b4052f617a6a500901fe72bc4709..386dd70ccb816af6edb7bb9a44fdaffd84af7fb6 100755
--- a/manager.c
+++ b/manager.c
@@ -1283,8 +1283,6 @@ static int process_message(struct mansession *s, struct message *m)
 		}
 		if (!tmp)
 			astman_send_error(s, m, "Invalid/unknown command");
-		else
-			ret = 0;
 		ast_mutex_lock(&s->__lock);
 		s->busy = 0;
 		while(s->eventq) {