summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-09-01 15:13:30 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2015-09-01 15:13:30 +0200
commit72e27cf6a21273dd79b17aa187b24099ca082ce2 (patch)
treeb6476079813c85447dad17652c583dc2d9b40ac2
parentf0c8045adf92a0e9c817cb3714442f12908fa291 (diff)
downloadredo-c-72e27cf6a21273dd79b17aa187b24099ca082ce2.tar.gz
redo-c-72e27cf6a21273dd79b17aa187b24099ca082ce2.tar.xz
redo-c-72e27cf6a21273dd79b17aa187b24099ca082ce2.zip
Fix job pool -.-
-rw-r--r--redo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo.c b/redo.c
index 9990268..7e9a53f 100644
--- a/redo.c
+++ b/redo.c
@@ -561,8 +561,8 @@ procure(char *target)
 void
 create_pool()
 {
-	poolrd_fd = envfd("REDO_WR_FD");
-	poolwr_fd = envfd("REDO_RD_FD");
+	poolrd_fd = envfd("REDO_RD_FD");
+	poolwr_fd = envfd("REDO_WR_FD");
 	if (poolrd_fd < 0 || poolwr_fd < 0) {
 		int jobs = envfd("JOBS");
 		if (jobs > 1) {