X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=audiod_command.c;h=2aae0d805e8286303a43df96b8a172b73e21e093;hb=c5727276089868ab11d2c0271e124e902bbbde27;hp=d5c53bf90059101cd345254e0a3c294c3df73307;hpb=4d9d588c5df359c3c5f279fbfd4ea51d3a2afc87;p=paraslash.git diff --git a/audiod_command.c b/audiod_command.c index d5c53bf9..2aae0d80 100644 --- a/audiod_command.c +++ b/audiod_command.c @@ -376,10 +376,10 @@ static int com_grab(int fd, int argc, char **argv) return grab_client_new(fd, argc, argv, &sched); } -__noreturn static int com_term(int fd, __a_unused int argc, __a_unused char **argv) +static int com_term(int fd, __a_unused int argc, __a_unused char **argv) { close(fd); - clean_exit(EXIT_SUCCESS, "terminating on user request"); + return -E_AUDIOD_TERM; } static int com_on(int fd, __a_unused int argc, __a_unused char **argv)