diff options
author | Dave Reisner <dreisner@archlinux.org> | 2013-07-30 15:24:48 -0400 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-08 21:28:10 +0200 |
commit | be3c71fa81e6d35a1fae0612a8b7b4b613d7d2f6 (patch) | |
tree | a5907bf32ccf54914ede5a355ea91137c760570e /archco.in | |
parent | fb30cabe61862f640f0e99f214dc2777a8ec1b35 (diff) | |
download | devtools-be3c71fa81e6d35a1fae0612a8b7b4b613d7d2f6.tar.xz |
avoid injecting code into the format string
Now that die() properly forwards arguments to error(), we can expect
that the first arg is a format string and not the entirety of the
output.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'archco.in')
-rw-r--r-- | archco.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ case $scriptname in communityco) SVNURL="svn+ssh://svn-community@nymeria.archlinux.org/srv/repos/svn-community/svn";; *) - die "Couldn't find svn url for $scriptname" + die "Couldn't find svn url for %s" "$scriptname" ;; esac |