1dad67a5af
Update Source to upstream version 0.8.5 plus post tag commits * Patches 0001-0102 are from https://github.com/openSUSE/multipath-tools/tree/queue and are already queued for upstream. Rename files * Previous patches 0059-0068 are now patches 0103-0111
31 lines
855 B
Diff
31 lines
855 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Martin Wilck <mwilck@suse.com>
|
|
Date: Wed, 23 Sep 2020 18:45:51 +0200
|
|
Subject: [PATCH] multipathd: print error message if config can't be loaded
|
|
|
|
Reviewed-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
|
|
---
|
|
multipathd/main.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/multipathd/main.c b/multipathd/main.c
|
|
index 6b9e323e..7ab3eab8 100644
|
|
--- a/multipathd/main.c
|
|
+++ b/multipathd/main.c
|
|
@@ -3074,8 +3074,10 @@ child (__attribute__((unused)) void *param)
|
|
condlog(2, "read " DEFAULT_CONFIGFILE);
|
|
|
|
conf = load_config(DEFAULT_CONFIGFILE);
|
|
- if (!conf)
|
|
+ if (!conf) {
|
|
+ condlog(0, "failed to load configuration");
|
|
goto failed;
|
|
+ }
|
|
|
|
if (verbosity)
|
|
conf->verbosity = verbosity;
|
|
--
|
|
2.17.2
|
|
|