Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fw32.git;a=commitdiff;h=d7591831bdae0c7966caae5efa5702963b39f597

commit d7591831bdae0c7966caae5efa5702963b39f597
Author: James Buren <[email protected]>
Date:   Fri Jun 29 16:28:04 2012 -0500

fw32: fix some error logic

diff --git a/fw32.c b/fw32.c
index 6b45bcb..7d8f034 100644
--- a/fw32.c
+++ b/fw32.c
@@ -364,7 +364,7 @@ umount_directory(FW32_DIR *path)
{
assert(path);

-  if(umount2(path->dir,UMOUNT_NOFOLLOW) && (errno != EINVAL || errno != 
ENOENT))
+  if(umount2(path->dir,UMOUNT_NOFOLLOW) && errno != EINVAL && errno != ENOENT)
error("Failed to umount directory: %s: %s\n",path->dir,strerror(errno));
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to