X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afs.c;h=75a4b97dac5eb8a9a351d71c0ac61fb7b839ee77;hb=07daa886fda65b868966c19e812c42433ffbfd5b;hp=c2d5e7af0f2ad638aa72cd1cac41fcc471a57a01;hpb=a35c113e0bb9fa9ac02b77eb01dd32f49cd5c8d0;p=paraslash.git diff --git a/afs.c b/afs.c index c2d5e7af..75a4b97d 100644 --- a/afs.c +++ b/afs.c @@ -685,7 +685,7 @@ static int open_afs_tables(void) ret = afs_tables[i].open(database_dir); if (ret >= 0) continue; - PARA_ERROR_LOG("%s init: %s\n", afs_tables[i].name, + PARA_ERROR_LOG("%s open: %s\n", afs_tables[i].name, para_strerror(-ret)); break; } @@ -1003,9 +1003,12 @@ __noreturn void afs_init(int socket_fd) } ret = schedule(&s); sched_shutdown(&s); + close_current_mood(); out_close: close_afs_tables(); out: + signal_shutdown(signal_task); + free_lpr(); if (ret < 0) PARA_EMERG_LOG("%s\n", para_strerror(-ret)); exit(EXIT_FAILURE);