mirror of
https://github.com/rclone/rclone.git
synced 2024-11-30 04:15:26 +01:00
57d5de6fba
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g' goimports -w `find . -name \*.go`
17 lines
331 B
Go
17 lines
331 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 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")
|
|
}
|