mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
ui/termstatus: extract background handling code
This commit is contained in:
8
internal/terminal/getpgrp_solaris.go
Normal file
8
internal/terminal/getpgrp_solaris.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package terminal
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
func Getpgrp() int {
|
||||
pid, _ := unix.Getpgrp()
|
||||
return pid
|
||||
}
|
||||
Reference in New Issue
Block a user