patches/unison-02-remote-shell.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 5 064fd4782f6e
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name

--- remote.ml.bak	2006-08-11 13:56:20.545272000 +0800
+++ remote.ml	2006-08-11 13:57:10.384362000 +0800
@@ -902,16 +902,8 @@
   debug (fun ()-> Util.msg "Shell connection: %s (%s)\n"
            shellCmd (String.concat ", " args));
   let term =
-    (if shellCmdPwd = "" then
-      match termInteract with
-        None ->
-          ignore (Unix.create_process shellCmd argsarray i1 o2 Unix.stderr);
-          None
-      | Some callBack ->
-          fst (Terminal.create_session shellCmd argsarray i1 o2 Unix.stderr)
-    else
       fst (Terminal.create_session shellCmd argsarray i1 o2 Unix.stderr) 
-  ) in
+      in
   Unix.close i1; Unix.close o2;
   (if shellCmdPwd = "" then begin match term, termInteract with
     | Some fdTerm, Some callBack ->