summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/remote.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote.ml b/src/remote.ml
index 77062eb..2d5f622 100644
--- a/src/remote.ml
+++ b/src/remote.ml
@@ -922,8 +922,8 @@ let connectionHeader =
Scanf.sscanf Sys.ocaml_version "%d.%d.%d" (fun x y z -> (x,y,z)) in
let compiler =
if major < 4
- || major = 4 && minor <= 2
- || major = 4 && minor = 2 && patchlevel <= 1
+ || major = 4 && minor < 1
+ || major = 4 && minor = 1 && patchlevel <= 1
then "<= 4.01.1"
else ">= 4.01.2"
in "Unison " ^ Uutil.myMajorVersion ^ " with OCaml " ^ compiler ^ "\n"