mirror of
https://github.com/restic/restic.git
synced 2025-12-12 03:22:07 +00:00
bump required go version to 1.21
This commit is contained in:
@@ -88,7 +88,7 @@ func startClient(cfg Config) (*SFTP, error) {
|
||||
|
||||
bg, err := util.StartForeground(cmd)
|
||||
if err != nil {
|
||||
if util.IsErrDot(err) {
|
||||
if errors.Is(err, exec.ErrDot) {
|
||||
return nil, errors.Errorf("cannot implicitly run relative executable %v found in current directory, use -o sftp.command=./<command> to override", cmd.Path)
|
||||
}
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user