diff mbox

multipath-tools/multipathd main.c

Message ID 20091102191147.15277.qmail@sourceware.org (mailing list archive)
State New, archived
Headers show

Commit Message

bmarzins@sourceware.org Nov. 2, 2009, 7:11 p.m. UTC
None
diff mbox

Patch

--- multipath-tools/multipathd/main.c	2009/09/10 16:27:24	1.69.2.24
+++ multipath-tools/multipathd/main.c	2009/11/02 19:11:46	1.69.2.25
@@ -1289,7 +1289,7 @@ 
 		    strcmp(mnt, "/etc") == 0 || strncmp(mnt, "/proc", 5) == 0 ||
 		    strncmp(mnt, "/dev", 4) == 0 || strncmp(mnt, "/sys", 4) == 0 ||
 		    strcmp(mnt, "/var") == 0 || strncmp(mnt, "/var/lib", 8) == 0 ||
-		    strncmp(mnt, "/var/run", 8) || strncmp(mnt, "/lib", 4) == 0 ||
+		    strncmp(mnt, "/var/run", 8) == 0 || strncmp(mnt, "/lib", 4) == 0 ||
 		    strncmp(mnt, "/lib64", 6) == 0 || strncmp(mnt, "/usr/lib64", 10) == 0)
 			continue;
 		if (umount2(mnt, MNT_DETACH) < 0 && errno != ENOENT) {