1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00
rclone/fs/redirect_stderr.go

13 lines
290 B
Go

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