From 68befa3b84080fcbf4face0fa39afedae9f3223d Mon Sep 17 00:00:00 2001 From: teor Date: Mon, 28 Oct 2019 13:04:29 +1000 Subject: [PATCH] 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. --- scripts/git/pre-commit.git-hook | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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