summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel M. Capella <polyzen@archlinux.org>2024-05-10 20:18:44 +0000
committerDaniel M. Capella <polyzen@archlinux.org>2024-05-10 20:18:44 +0000
commit2f6d77a6b2d5cfb5372fc2700a4e7e12f0c2425e (patch)
tree76cc361c9b5fce48b7e14e5cc6a8a5bdb1a8a037
parent9016e2405d57d0009128bf413bd000989474465f (diff)
parent5dc11d0a623e242014e4144b6070bc1d62747939 (diff)
Merge branch 'revert-printf-lint' into 'master'
Revert 'printf' lint for the pacscripts script See merge request pacman/pacman-contrib!49
-rw-r--r--src/pacscripts.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pacscripts.sh.in b/src/pacscripts.sh.in
index e4ea852..27f9f0b 100644
--- a/src/pacscripts.sh.in
+++ b/src/pacscripts.sh.in
@@ -29,7 +29,8 @@ declare -r myver='@PACKAGE_VERSION@'
error() {
local mesg=$1; shift
- printf "==> $(gettext "ERROR:") %s\n ${mesg}" "$@" >&2
+ # shellcheck disable=SC2059
+ printf "==> $(gettext "ERROR:") ${mesg}\n" "$@" >&2
}
usage() {