From 43afee3a0c97d48bf89d5a650d47d65cb43f57b4 Mon Sep 17 00:00:00 2001
From: Russell Bryant <russell@russellbryant.com>
Date: Tue, 16 May 2006 03:18:57 +0000
Subject: [PATCH] return the result of the cli command registration

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 image.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/image.c b/image.c
index 9d8901af0c..570f1e7442 100644
--- a/image.c
+++ b/image.c
@@ -205,7 +205,6 @@ struct ast_cli_entry show_images =
 
 int ast_image_init(void)
 {
-	ast_cli_register(&show_images);
-	return 0;
+	return ast_cli_register(&show_images);
 }
 
-- 
GitLab