multipath: check for existance before trying to install
authorHarald Hoyer <harald@redhat.com>
Tue, 12 Jan 2010 09:31:51 +0000 (10:31 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 12 Jan 2010 09:31:51 +0000 (10:31 +0100)
modules.d/90multipath/install

index f14c58c..37c2842 100755 (executable)
@@ -21,7 +21,7 @@ for f in  \
     /etc/xdrdevices.conf \
     $(ls $LIBDIR/libmultipath* $LIBDIR/multipath/* 2>/dev/null) \
        ;do
-    inst $f
+    [ -e "$f" ] && inst "$f"
 done
 
 inst_hook pre-trigger 02 "$moddir/multipathd.sh"