2015-02-27 16:51:17 +00:00
|
|
|
// Log the panic to the log file - for oses which can't do this
|
|
|
|
|
2016-02-24 21:54:21 +00:00
|
|
|
// +build !windows,!darwin,!dragonfly,!freebsd,!linux,!nacl,!netbsd,!openbsd
|
2015-02-27 16:51:17 +00:00
|
|
|
|
2017-02-10 13:28:06 +00:00
|
|
|
package fs
|
2015-02-27 16:51:17 +00:00
|
|
|
|
2017-02-10 13:28:06 +00:00
|
|
|
import "os"
|
2015-02-27 16:51:17 +00:00
|
|
|
|
|
|
|
// redirectStderr to the file passed in
|
|
|
|
func redirectStderr(f *os.File) {
|
2017-02-10 13:28:06 +00:00
|
|
|
Errorf(nil, "Can't redirect stderr to file")
|
2015-02-27 16:51:17 +00:00
|
|
|
}
|