diff options
author | P. J. McDermott <pjm@nac.net> | 2013-07-12 14:10:42 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-07-12 14:10:42 (EDT) |
commit | 57272bc27bed84b9426c21e7e76af6bf392cb9e6 (patch) | |
tree | 3f4ec81a0cd8b2cd3263696fdc88aed050262aad /src | |
parent | 87eb2fc8eda00a83bb057ee1ab9649a9a6d68627 (diff) |
pro-archman: Add "pro-archman: Error:" to message.
Diffstat (limited to 'src')
-rw-r--r-- | src/pro-archman.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pro-archman.sh b/src/pro-archman.sh index a3824cf..8c77377 100644 --- a/src/pro-archman.sh +++ b/src/pro-archman.sh @@ -62,8 +62,8 @@ use() if [ -f "${dir}/${module##*/}.sm" ]; then . "${dir}/${module##*/}.sm" else - printf 'Failed to load module "%s": %s\n' \ - "${module}" 'no such file or directory' >&2 + printf '%s: Error: Failed to load module "%s": %s\n' \ + "${0##*/}" "${module}" 'no such file or directory' >&2 exit 2 fi } |