diff options
author | Erik Sjölund <erik.sjolund@gmail.com> | 2022-07-11 21:59:32 +0200 |
---|---|---|
committer | Erik Sjölund <erik.sjolund@gmail.com> | 2022-07-11 21:59:32 +0200 |
commit | 377057b4005a1cad035240a5557368cb2e6232f8 (patch) | |
tree | fff83c9c7570b70fe8300cf3bcbe2ca29a6e5a16 /libpod/container_internal_linux.go | |
parent | 810cbf1fb9411f75868b82c1071937374e9d57e4 (diff) | |
download | podman-377057b4005a1cad035240a5557368cb2e6232f8.tar.gz podman-377057b4005a1cad035240a5557368cb2e6232f8.tar.bz2 podman-377057b4005a1cad035240a5557368cb2e6232f8.zip |
[CI:DOCS] Improve language. Fix spelling and typos.
* Correct spelling and typos.
* Improve language.
Co-authored-by: Ed Santiago <santiago@redhat.com>
Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Diffstat (limited to 'libpod/container_internal_linux.go')
-rw-r--r-- | libpod/container_internal_linux.go | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libpod/container_internal_linux.go b/libpod/container_internal_linux.go index 390e95258..46e525add 100644 --- a/libpod/container_internal_linux.go +++ b/libpod/container_internal_linux.go @@ -184,11 +184,8 @@ func (c *Container) prepare() error { func (c *Container) isWorkDirSymlink(resolvedPath string) bool { // We cannot create workdir since explicit --workdir is // set in config but workdir could also be a symlink. - // If its a symlink lets check if resolved link is present - // on the container or not. - - // If we can resolve symlink and resolved link is present on the container - // then return nil cause its a valid use-case. + // If it's a symlink, check if the resolved target is present in the container. + // If so, that's a valid use case: return nil. maxSymLinks := 0 for { |