mirror of
https://github.com/rclone/rclone.git
synced 2026-01-06 10:33:34 +00:00
* Adds "aix/ppc64" to the cross-compile target list. * Including AIX in the build tag of "metadata_other.go". * Excluding AIX from the main ncdu build tags. * Marking AIX as an unsupported platform for ncdu. * Excluding AIX from the fallback redirect implementation. * Excluding AIX from unix build tags to avoid undefined unix.WNOHANG.
17 lines
361 B
Go
17 lines
361 B
Go
// Log the panic to the log file - for oses which can't do this
|
|
|
|
//go:build !windows && !darwin && !dragonfly && !freebsd && !linux && !nacl && !netbsd && !openbsd && !aix
|
|
|
|
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")
|
|
}
|