mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-30 20:25:35 +02:00
Error message on demultiplexing command output receives bad error arg (#295)
This commit is contained in:
@@ -51,7 +51,7 @@ func (s *script) exec(containerRef string, command string, user string) ([]byte,
|
|||||||
outputDone <- err
|
outputDone <- err
|
||||||
}()
|
}()
|
||||||
|
|
||||||
if <-outputDone != nil {
|
if err := <-outputDone; err != nil {
|
||||||
return nil, nil, fmt.Errorf("exec: error demultiplexing output: %w", err)
|
return nil, nil, fmt.Errorf("exec: error demultiplexing output: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user