summaryrefslogtreecommitdiffstats
path: root/src/pro-archman.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/pro-archman.sh')
-rw-r--r--src/pro-archman.sh4
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
}