kas-docker: Fix error message
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
789d3aa604
commit
1c1e3e592a
@ -192,7 +192,7 @@ set -- -v "${REPO_DIR}":/repo:ro \
|
|||||||
|
|
||||||
if [ -n "${SSH_DIR}" ] ; then
|
if [ -n "${SSH_DIR}" ] ; then
|
||||||
if [ ! -d "${SSH_DIR}" ]; then
|
if [ ! -d "${SSH_DIR}" ]; then
|
||||||
echo "Passed SSH_VALUE '${SSH_DIR}' is not a directory"
|
echo "Passed SSH_DIR '${SSH_DIR}' is not a directory"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
set -- "$@" -v "$(readlink -f "${SSH_DIR}")":/etc/skel/.ssh:ro
|
set -- "$@" -v "$(readlink -f "${SSH_DIR}")":/etc/skel/.ssh:ro
|
||||||
|
Loading…
Reference in New Issue
Block a user