From 7f7cefeff2f3fa4a36213e4f90a4aab7d9353b32 Mon Sep 17 00:00:00 2001
From: Matt Strapp <strap012@umn.edu>
Date: Tue, 6 Oct 2020 08:19:52 -0500
Subject: Change error

---
 P1/src/mapreduce.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/P1/src/mapreduce.c b/P1/src/mapreduce.c
index 36e9045..cb171bb 100644
--- a/P1/src/mapreduce.c
+++ b/P1/src/mapreduce.c
@@ -13,7 +13,7 @@ int main(int argc, char *argv[]) {
 	int nReducers 	= strtol(argv[2], NULL, 10);
 	if (nMappers < nReducers) {
 		printf("Number of mappers must be greater than or equal to the number of reducers.\n");
-		exit(2);
+		exit(-1);
 	}
 	char *inputFile = argv[3];
 
-- 
cgit v1.2.3