mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
11da2a6c9b
The purpose of this is to make it easier to maintain and eventually to allow the rclone backends to be re-used in other projects without having to use the rclone configuration system. The new code layout is documented in CONTRIBUTING.
17 lines
328 B
Go
17 lines
328 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/ncw/rclone/fs"
|
|
)
|
|
|
|
// redirectStderr to the file passed in
|
|
func redirectStderr(f *os.File) {
|
|
fs.Errorf(nil, "Can't redirect stderr to file")
|
|
}
|