summaryrefslogtreecommitdiff
path: root/main/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/cli.c')
-rw-r--r--main/cli.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/main/cli.c b/main/cli.c
index 99dc1b54b..acb1f6b15 100644
--- a/main/cli.c
+++ b/main/cli.c
@@ -263,6 +263,7 @@ static char *handle_load(struct ast_cli_entry *e, int cmd, struct ast_cli_args *
ast_cli(a->fd, "Unable to load module %s\n", a->argv[e->args]);
return CLI_FAILURE;
}
+ ast_cli(a->fd, "Loaded %s\n", a->argv[e->args]);
return CLI_SUCCESS;
}
@@ -586,7 +587,9 @@ static char *handle_unload(struct ast_cli_entry *e, int cmd, struct ast_cli_args
ast_cli(a->fd, "Unable to unload resource %s\n", a->argv[x]);
return CLI_FAILURE;
}
+ ast_cli(a->fd, "Unloaded %s\n", a->argv[x]);
}
+
return CLI_SUCCESS;
}