summaryrefslogtreecommitdiff
path: root/multipathd/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'multipathd/main.c')
-rw-r--r--multipathd/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/multipathd/main.c b/multipathd/main.c
index 7879758..87f878c 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -875,7 +875,8 @@ check_path (struct vectors * vecs, struct path * pp)
*/
checker_set_async(&pp->checker);
- newstate = checker_check(&pp->checker);
+ if (!path_offline(pp))
+ newstate = checker_check(&pp->checker);
if (newstate < 0) {
condlog(2, "%s: unusable path", pp->dev);