1
mirror of https://github.com/rclone/rclone synced 2024-12-16 05:05:58 +01:00
rclone/redirect_stderr.go
2016-02-24 22:03:14 +00:00

16 lines
303 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 main
import (
"log"
"os"
)
// redirectStderr to the file passed in
func redirectStderr(f *os.File) {
log.Printf("Can't redirect stderr to file")
}