forked from TrueCloudLab/restic
f80b07b2c8
The previous implementation assumed that stdin was a terminal. It now checks the terminal's fd.
9 lines
222 B
Go
9 lines
222 B
Go
// +build !linux
|
|
|
|
package termstatus
|
|
|
|
// IsProcessBackground reports whether the current process is running in the
|
|
// background. Not implemented for this platform.
|
|
func IsProcessBackground(uintptr) bool {
|
|
return false
|
|
}
|