[tor/master] scripts/git: Fix a shellcheck error in pre-commit.git-hook

commit 68befa3b84080fcbf4face0fa39afedae9f3223d Author: teor <teor@torproject.org> Date: Mon Oct 28 13:04:29 2019 +1000 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 2e476c310..c138d2ae2 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
participants (1)
-
teor@torproject.org