aboutsummaryrefslogtreecommitdiff
path: root/scripts/git
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-10-28 13:04:29 +1000
committerteor <teor@torproject.org>2019-10-28 13:04:29 +1000
commit68befa3b84080fcbf4face0fa39afedae9f3223d (patch)
tree5a3ef8356f9ce37ab7264dfc0d886647b0bc76ca /scripts/git
parent731464deb524f48f83c3344f94c80ef07e6f4110 (diff)
downloadtor-68befa3b84080fcbf4face0fa39afedae9f3223d.tar.gz
tor-68befa3b84080fcbf4face0fa39afedae9f3223d.zip
scripts/git: Fix a shellcheck error in pre-commit.git-hook
Some versions of shellcheck do not detect this error. Bugfix on 31919; not in any released version of tor.
Diffstat (limited to 'scripts/git')
-rwxr-xr-xscripts/git/pre-commit.git-hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/git/pre-commit.git-hook b/scripts/git/pre-commit.git-hook
index 2e476c310e..c138d2ae21 100755
--- a/scripts/git/pre-commit.git-hook
+++ b/scripts/git/pre-commit.git-hook
@@ -61,7 +61,7 @@ fi
## Owned Source File Checks
-printf "Modified tor-owned source files:\n%s\n" "$CHECK_FILES"
+printf "Modified tor-owned source files:\\n%s\\n" "$CHECK_FILES"
# We want word splitting here, because file names are space separated
# shellcheck disable=SC2086