mirror of
https://github.com/restic/restic.git
synced 2025-12-12 03:11:56 +00:00
bump required go version to 1.21
This commit is contained in:
@@ -11,6 +11,9 @@ import (
|
||||
// to the previous process group.
|
||||
//
|
||||
// The command's environment has all RESTIC_* variables removed.
|
||||
//
|
||||
// Return exec.ErrDot if it would implicitly run an executable from the current
|
||||
// directory.
|
||||
func StartForeground(cmd *exec.Cmd) (bg func() error, err error) {
|
||||
env := os.Environ() // Returns a copy that we can modify.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user