bump required go version to 1.21

This commit is contained in:
Michael Eischer 2024-07-26 19:07:14 +02:00
parent 05571286b2
commit ad48751adb
11 changed files with 10 additions and 54 deletions

View file

@ -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.