Commit Diff


commit - e10c916e6a794631e8c4a0a73aeb1b3615863e70
commit + 5cade90168b43ba473102fcb27dd1fd4d85fcdc9
blob - be1796398c02584ccc6c44a496c5dea108e7d3bf
blob + fefe29cbfdc8da1f766b44e0948c98422f901875
--- lib/path.c
+++ lib/path.c
@@ -448,7 +448,7 @@ got_path_find_prog(char **filename, const char *prog)
 		continue;
 	}
 	free(path);
-	return NULL;
+	return err;
 }
 
 const struct got_error *