cmd/create: Don't wrap an empty error
Fallout from eedfdda535
https://github.com/containers/toolbox/pull/809
This commit is contained in:
parent
1e823b74b3
commit
00b3741a3e
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ func getServiceSocket(serviceName string, unitName string) (string, error) {
|
|||
|
||||
listenVariant, listenFound := result["Listen"]
|
||||
if !listenFound {
|
||||
return "", fmt.Errorf("failed to find the Listen property of %s: %w", unitName, err)
|
||||
return "", fmt.Errorf("failed to find the Listen property of %s", unitName)
|
||||
}
|
||||
|
||||
listenVariantSignature := listenVariant.Signature().String()
|
||||
|
|
Loading…
Reference in a new issue