mirror of
https://github.com/containers/skopeo.git
synced 2025-09-28 21:46:48 +00:00
[release-1.2] bump c/storage, c/image, c/common for RHEL 8.4.0.2
Signed-off-by: TomSweeneyRedHat <tsweeney@redhat.com>
This commit is contained in:
4
vendor/github.com/mattn/go-shellwords/util_windows.go
generated
vendored
4
vendor/github.com/mattn/go-shellwords/util_windows.go
generated
vendored
@@ -3,7 +3,7 @@
|
||||
package shellwords
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"os"
|
||||
"os/exec"
|
||||
"strings"
|
||||
@@ -23,7 +23,7 @@ func shellRun(line, dir string) (string, error) {
|
||||
if eerr, ok := err.(*exec.ExitError); ok {
|
||||
b = eerr.Stderr
|
||||
}
|
||||
return "", errors.New(err.Error() + ":" + string(b))
|
||||
return "", fmt.Errorf("%s: %w", string(b), err)
|
||||
}
|
||||
return strings.TrimSpace(string(b)), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user