From 57272bc27bed84b9426c21e7e76af6bf392cb9e6 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 12 Jul 2013 14:10:42 -0400 Subject: pro-archman: Add "pro-archman: Error:" to message. --- 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 } -- cgit v0.9.1