rclone/fs/log/redirect_stderr.go

17 lines
353 B
Go
Raw Normal View History

// Log the panic to the log file - for oses which can't do this
2021-09-09 14:25:25 +02:00
//go:build !windows && !darwin && !dragonfly && !freebsd && !linux && !nacl && !netbsd && !openbsd
package log
import (
"os"
"github.com/rclone/rclone/fs"
)
// redirectStderr to the file passed in
func redirectStderr(f *os.File) {
fs.Errorf(nil, "Can't redirect stderr to file")
}