aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Marzinski <bmarzins@redhat.com>2010-05-19 23:00:45 -0500
committerChristophe Varoqui <christophe.varoqui@opensvc.com>2010-05-20 06:50:43 +0200
commit6c07072b8dd5171a429cb6a995f6dbb5a41b0803 (patch)
tree0b63540726c7c5b1f60362915bf7e4faa1d5bfc4
parent50fff90e06a4cd0e9fc670c417210f88d8665568 (diff)
downloadmultipath-tools-6c07072b8dd5171a429cb6a995f6dbb5a41b0803.tar.gz
multipath: don't clear daemon setting on reconfigure
When you reconfigure multipathd, it needs to set the daemon flag in the new config structure, so that the daemon only-code will still work. Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
-rw-r--r--multipathd/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/multipathd/main.c b/multipathd/main.c
index d2c2cc3..3d9ff31 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -1198,6 +1198,7 @@ reconfigure (struct vectors * vecs)
conf->checkint = DEFAULT_CHECKINT;
conf->max_checkint = MAX_CHECKINT(conf->checkint);
}
+ conf->daemon = 1;
configure(vecs, 1);
free_config(old);
return 0;