]> ruderich.org/simon Gitweb - safcm/safcm.git/blobdiff - rpc/dial.go
rpc: remove empty line
[safcm/safcm.git] / rpc / dial.go
index 0782ab08e617933e4e2c369651253d11324e355f..caa34b098fe933ca9fba22d7f0ea35aadb05d33a 100644 (file)
@@ -51,7 +51,7 @@ func (c *Conn) DialSSH(user, host, sshConfig string) error {
 
        c.sshRemote = remote
        if sshConfig != "" {
-               c.sshOpts = append(c.sshOpts, "-F", sshConfig)
+               c.sshOpts = []string{"-F", sshConfig}
        }
        c.cmd = exec.Command("ssh",
                append(append([]string{}, c.sshOpts...),
@@ -177,7 +177,6 @@ f() {
                tmp="$(mktemp "$x.XXXXXX")"
                # Report filename for upload
                echo "$tmp"
-
                # Wait for upload to complete
                read unused