From cb35d74f8ce0e1ad489c59d608877e4d6b34ca85 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 2 Apr 2017 04:09:55 -0400 Subject: Avoid using string interpolation; use printf format strings instead. This involves extending the signature of lib/common.sh's `stat_busy()`, `lock()`, and `slock()`. The `mesg=$1; shift` in stat_busy even suggests that this is what was originally intended from it. --- archco.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archco.in') diff --git a/archco.in b/archco.in index 6088b8e..77cc8c4 100644 --- a/archco.in +++ b/archco.in @@ -6,7 +6,7 @@ m4_include(lib/common.sh) scriptname=${0##*/} if [[ -z $1 ]]; then - echo 'Usage: '$scriptname' ...' + printf 'Usage: %s ...\n' "$scriptname" exit 1 fi -- cgit v1.2.3-54-g00ecf