mirror of
https://github.com/restic/restic.git
synced 2024-09-12 05:58:36 +02:00
The previous implementation assumed that stdin was a terminal. It now checks the terminal's fd.
10 lines
222 B
Go
10 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
|
|
}
|