return the result of the cli command registration
authorRussell Bryant <russell@russellbryant.com>
Tue, 16 May 2006 03:18:57 +0000 (03:18 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 16 May 2006 03:18:57 +0000 (03:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27270 65c4cc65-6c06-0410-ace0-fbb531ad65f3

image.c

diff --git a/image.c b/image.c
index 9d8901a..570f1e7 100644 (file)
--- 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);
 }