mirror of
https://github.com/rclone/rclone.git
synced 2024-12-05 07:20:35 +08:00
17 lines
330 B
Go
17 lines
330 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 cmd
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/ncw/rclone/fs"
|
|
)
|
|
|
|
// redirectStderr to the file passed in
|
|
func redirectStderr(f *os.File) {
|
|
fs.ErrorLog(nil, "Can't redirect stderr to file")
|
|
}
|