forked from TrueCloudLab/restic
Move backend/sftp.SplitShellArgs to backend/
This commit is contained in:
parent
e4a39e02d2
commit
345b6c4694
3 changed files with 3 additions and 3 deletions
|
@ -179,7 +179,7 @@ func (r *SFTP) IsNotExist(err error) bool {
|
|||
|
||||
func buildSSHCommand(cfg Config) (cmd string, args []string, err error) {
|
||||
if cfg.Command != "" {
|
||||
return SplitShellArgs(cfg.Command)
|
||||
return backend.SplitShellArgs(cfg.Command)
|
||||
}
|
||||
|
||||
cmd = "ssh"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package sftp
|
||||
package backend
|
||||
|
||||
import (
|
||||
"unicode"
|
|
@ -1,4 +1,4 @@
|
|||
package sftp
|
||||
package backend
|
||||
|
||||
import (
|
||||
"reflect"
|
Loading…
Reference in a new issue