summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2012-09-20 01:56:41 +0200
committerPetr Rockai <prockai@redhat.com>2012-09-26 17:26:23 +0200
commit9f96286c29897ba9ac5c7c2f167d0f33ebaa93d4 (patch)
treeb008ded0665783ad93ab2ebce3f514dedb4b0f55
parent1ff2245c23247a1d3f9a03be66d3d186c824f03f (diff)
downloadlvm2-9f96286c29897ba9ac5c7c2f167d0f33ebaa93d4.tar.gz
lvm2-9f96286c29897ba9ac5c7c2f167d0f33ebaa93d4.tar.xz
lvm2-9f96286c29897ba9ac5c7c2f167d0f33ebaa93d4.zip
lvmetad: Initialise debug_config also if no -d is given.
-rw-r--r--daemons/lvmetad/lvmetad-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemons/lvmetad/lvmetad-core.c b/daemons/lvmetad/lvmetad-core.c
index f796e330..6c2303df 100644
--- a/daemons/lvmetad/lvmetad-core.c
+++ b/daemons/lvmetad/lvmetad-core.c
@@ -1043,6 +1043,7 @@ int main(int argc, char *argv[])
s.pidfile = LVMETAD_PIDFILE;
s.protocol = "lvmetad";
s.protocol_version = 1;
+ ls.debug_config = "";
// use getopt_long
while ((opt = getopt(argc, argv, "?fhVd:Rs:")) != EOF) {