Dont return an error if the directory already existed
diff --git a/libbb/make_directory.c b/libbb/make_directory.c
index 668fea7..1c3026c 100644
--- a/libbb/make_directory.c
+++ b/libbb/make_directory.c
@@ -57,8 +57,12 @@
 		}
 	}
 	ret = mkdir(path, mode);
-	if ( (ret == -1) && (errno != EEXIST) ) {
-		perror_msg("Cannot create directory %s", path);
+	if (ret == -1) {
+		if (errno == EEXIST) {
+			ret = 0;
+		} else {
+			perror_msg("Cannot create directory %s", path);
+		}
 	}
-	return ret;
+	return(ret);
 }