Fix broken logic merged from #9
diff --git a/homedir.go b/homedir.go
index 8996b02..47e1f9e 100644
--- a/homedir.go
+++ b/homedir.go
@@ -87,8 +87,8 @@
 	cmd := exec.Command("getent", "passwd", strconv.Itoa(os.Getuid()))
 	cmd.Stdout = &stdout
 	if err := cmd.Run(); err != nil {
-		// If "getent" is missing, ignore it
-		if err == exec.ErrNotFound {
+		// If the error is ErrNotFound, we ignore it. Otherwise, return it.
+		if err != exec.ErrNotFound {
 			return "", err
 		}
 	} else {