mirror of
https://github.com/rclone/rclone.git
synced 2024-12-12 10:12:41 +01:00
17 lines
353 B
Go
17 lines
353 B
Go
// Log the panic to the log file - for oses which can't do this
|
|
|
|
//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")
|
|
}
|