From: Andre Noll Date: Wed, 24 Oct 2007 12:39:24 +0000 (+0200) Subject: afs.c: Restore the current mood or playlist on SIGHUP. X-Git-Tag: v0.3.0~219 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=4a198ca75a3edf2865d599fc7aa0f672c4f30069;p=paraslash.git afs.c: Restore the current mood or playlist on SIGHUP. --- diff --git a/afs.c b/afs.c index 950b404e..f619c08e 100644 --- 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;