diff options
Diffstat (limited to 'ssh_client.go')
| -rw-r--r-- | ssh_client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_client.go b/ssh_client.go index 3256f93..71f3b3b 100644 --- a/ssh_client.go +++ b/ssh_client.go @@ -70,7 +70,7 @@ func newSshClient(section *config.Section, dirTmp string, stdout, stderr io.Writ if len(dirTmp) == 0 { var randomString = string(ascii.Random([]byte(ascii.LettersNumber), 16)) - sshc.dirTmp = filepath.Join(defTmpDir, randomString) + sshc.dirTmp = filepath.Join(defTmpDir, defDirTmpPrefix+randomString) } err = sshc.mkdir(sshc.dirTmp, 0700) |
