]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 950b404ed643d23b20400d3a4ebea523319ca20b..f619c08ec85e659414fc3fd3e03a3015a19f91f6 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;