[multipathd] discarding an event is not an error
authorChristophe Varoqui <root@xa-s05.(none)>
Wed, 23 Nov 2005 09:57:46 +0000 (10:57 +0100)
committerChristophe Varoqui <root@xa-s05.(none)>
Wed, 23 Nov 2005 09:57:46 +0000 (10:57 +0100)
This avoids sending misleading "uxtrigger error" messages.

multipathd/main.c

index 1849181..0a4759f 100644 (file)
@@ -987,7 +987,7 @@ uev_trigger (struct uevent * uev, void * trigger_data)
        vecs = (struct vectors *)trigger_data;
 
        if (uev_discard(uev->devpath))
-               return 1;
+               return 0;
 
        basename(uev->devpath, devname);
        lock(vecs->lock);