1
mirror of https://github.com/rclone/rclone synced 2024-12-03 13:14:37 +01:00
rclone/fs/redirect_stderr.go

13 lines
290 B
Go
Raw Normal View History

// 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")
}