summaryrefslogtreecommitdiffstats
path: root/bin/ptxdist
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2018-09-28 15:22:56 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-09-28 15:22:58 +0200
commit8420d1f71a67fa67ddab6607f7715d012567305a (patch)
treed3db500a870b20fc90f4d06f4186c25343b26e82 /bin/ptxdist
parentdae865843b70410ffc1bdeccff498e12d5d8d748 (diff)
downloadptxdist-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>
Diffstat (limited to 'bin/ptxdist')
-rwxr-xr-xbin/ptxdist2
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