X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=blobdiff_plain;f=rpc%2Fconn.go;h=3f7ade144c1c2905254da49eb7924552aa3c362d;hp=03b748545f12c1c588acb24bac2761e0b439b25c;hb=fd97e8019e2ab166d9475ed59782c86247d8430b;hpb=9d0d090fc1d683accc8bd1b354425c23cbe9fb6a diff --git a/rpc/conn.go b/rpc/conn.go index 03b7485..3f7ade1 100644 --- a/rpc/conn.go +++ b/rpc/conn.go @@ -20,6 +20,7 @@ package rpc import ( "bufio" "fmt" + "io/fs" "os/exec" "strings" "sync" @@ -36,6 +37,8 @@ type Conn struct { sshRemote string sshOpts []string + remoteHelpers fs.FS + cmd *exec.Cmd conn *safcm.GobConn }