]> git.sur5r.net Git - ngadmin/blob - cli/com_quit.c
Command functions return int instead of bool
[ngadmin] / cli / com_quit.c
1
2 #include "commands.h"
3
4
5 int do_quit (int argc, const char **argv UNUSED, struct ngadmin *nga UNUSED)
6 {
7         if (argc > 0) {
8                 printf("this command takes no argument\n");
9                 return 1;
10         }
11         
12         main_loop_continue = 0;
13         
14         return 0;
15 }
16
17