summaryrefslogtreecommitdiff
path: root/libpod/runtime_pod_infra_linux.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-10-19 20:24:52 -0400
committerMatthew Heon <mheon@redhat.com>2019-10-30 14:41:16 -0400
commit3e891c1b6036f9df050cad8bf3517c7d9f82876e (patch)
tree51dc49e409355890c0c8e45a63f570e3b60cbfbe /libpod/runtime_pod_infra_linux.go
parentac73fd3fe5dcbf2647d589f9c9f37fe9531ed663 (diff)
downloadpodman-3e891c1b6036f9df050cad8bf3517c7d9f82876e.tar.gz
podman-3e891c1b6036f9df050cad8bf3517c7d9f82876e.tar.bz2
podman-3e891c1b6036f9df050cad8bf3517c7d9f82876e.zip
Wait for `mount` command to finish when mounting volume
command.Start() just starts the command. That catches some errors, but the nasty ones - bad options and similar - happen when the command runs. Use CombinedOutput() instead - it waits for the command to exit, and thus catches non-0 exit of the `mount` command (invalid options, for example). STDERR from the `mount` command is directly used, which isn't necessarily the best, but we can't really get much more info on what went wrong. Fixes #4303 Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/runtime_pod_infra_linux.go')
0 files changed, 0 insertions, 0 deletions