mirror of
https://github.com/rclone/rclone.git
synced 2024-11-27 19:00:00 +08:00
16 lines
250 B
Go
16 lines
250 B
Go
// Log the panic to the log file - for oses which can't do this
|
|
|
|
//+build !windows,!unix
|
|
|
|
package main
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
)
|
|
|
|
// redirectStderr to the file passed in
|
|
func redirectStderr(f *os.File) {
|
|
log.Printf("Can't redirect stderr to file")
|
|
}
|