From 5f956b99f8f30642227686dd9341950f011512ae Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 15 Sep 2007 09:16:05 +0200 Subject: [PATCH] command.c: Fix om_help(). It segfaulted due to a missing return statement. --- command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command.c b/command.c index 8bef1498..516a62fe 100644 --- a/command.c +++ b/command.c @@ -499,7 +499,7 @@ int com_help(int fd, int argc, char * const * argv) if (ret < 0) return ret; cmd = afs_cmds; - ret = send_list_of_commands(fd, cmd, "afs"); + return send_list_of_commands(fd, cmd, "afs"); } /* argument given for help */ cmd = get_cmd_ptr(argv[1], &handler); -- 2.39.5