afs.c: Restore the current mood or playlist on SIGHUP.
authorAndre Noll <maan@systemlinux.org>
Wed, 24 Oct 2007 12:39:24 +0000 (14:39 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 24 Oct 2007 12:39:24 +0000 (14:39 +0200)
afs.c

diff --git a/afs.c b/afs.c
index 950b404..f619c08 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -716,9 +716,9 @@ static void signal_post_select(struct sched *s, struct task *t)
        if (st->signum == SIGHUP) {
                close_afs_tables();
                t->ret = open_afs_tables();
-               /* FIXME: Restore current mood or playlist */
                if (t->ret < 0)
                        goto err;
+               init_admissible_files(current_mop);
                return;
        }
        t->ret = -E_AFS_SIGNAL;