summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-01 21:32:22 +0200
committerGitHub <noreply@github.com>2020-05-01 21:32:22 +0200
commit0fd8242f9100806fed4e2abfcae7ea3409050539 (patch)
tree17806ab22aaabf3d360dd54de9af32fc3cef3a05 /pkg
parent54fa377faf89b27183a789bd98084ea02c4cd4a1 (diff)
parent8173e830544e74284c5bd4510f52b9e19fe25baa (diff)
downloadpodman-0fd8242f9100806fed4e2abfcae7ea3409050539.tar.gz
podman-0fd8242f9100806fed4e2abfcae7ea3409050539.tar.bz2
podman-0fd8242f9100806fed4e2abfcae7ea3409050539.zip
Merge pull request #6058 from rhatdan/coverity
Fix errors found in coverity scan
Diffstat (limited to 'pkg')
-rw-r--r--pkg/util/mountOpts.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/util/mountOpts.go b/pkg/util/mountOpts.go
index 329a7c913..929223244 100644
--- a/pkg/util/mountOpts.go
+++ b/pkg/util/mountOpts.go
@@ -108,6 +108,7 @@ func ProcessOptions(options []string, isTmpfs bool, sourcePath string) ([]string
if foundZ {
return nil, errors.Wrapf(ErrDupeMntOption, "only one of 'z' and 'Z' can be used")
}
+ foundZ = true
default:
return nil, errors.Wrapf(ErrBadMntOption, "unknown mount option %q", opt)
}