diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-28 15:22:56 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-28 15:22:58 +0200 |
commit | 8420d1f71a67fa67ddab6607f7715d012567305a (patch) | |
tree | d3db500a870b20fc90f4d06f4186c25343b26e82 | |
parent | dae865843b70410ffc1bdeccff498e12d5d8d748 (diff) | |
download | ptxdist-8420d1f71a67fa67ddab6607f7715d012567305a.tar.gz ptxdist-8420d1f71a67fa67ddab6607f7715d012567305a.tar.xz |
ptxdist: improve layer error message
This only happens if the path exists but is not a directory, e.g. a broken
link or a file. Change the error message to make this clearer.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rwxr-xr-x | bin/ptxdist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 4153a8964..d0d381481 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1339,7 +1339,7 @@ setup_layers() while [ -e "${layer}" -o -h "${layer}" ]; do if [ ! -d "${layer}" ]; then echo - echo "${PTXDIST_LOG_PROMPT}error: Layer '${layer}' does not exist!" + echo "${PTXDIST_LOG_PROMPT}error: Layer '${layer}' is not a directory!" echo exit 1 fi |