summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-03-30 12:10:06 +0100
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 16:09:21 +0200
commit89e965ccae38e46e0dda0eb5746a0960ca606589 (patch)
tree3951e7f5ce33188b654a8051cc8b75fc75996e55
parentb28095bd56476178e148d735d2073aefaa7ffcc3 (diff)
downloadvyos-live-build-89e965ccae38e46e0dda0eb5746a0960ca606589.tar.gz
vyos-live-build-89e965ccae38e46e0dda0eb5746a0960ca606589.zip
frontend: change "no such script" to "unknown command"
as far as the user is concerned, 'foo' in `lb foo` is a command; they do not know or need to know that the commands also correspond to actual scripts. Gbp-Dch: Short
-rwxr-xr-xfrontend/lb2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/lb b/frontend/lb
index 43b822fcb..137867be2 100755
--- a/frontend/lb
+++ b/frontend/lb
@@ -55,7 +55,7 @@ elif [ $(which "${COMMAND}") ]; then
# User has live-build commands in path
SCRIPT="${COMMAND}"
else
- Echo_error "No such script: ${COMMAND}"
+ Echo_error "Unknown command: ${COMMAND}"
exit 1
fi