aboutsummaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/pre-commit2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/pre-commit b/hooks/pre-commit
index 1de33ca..6dbd033 100755
--- a/hooks/pre-commit
+++ b/hooks/pre-commit
@@ -16,7 +16,7 @@ check_grammar() {
printf "Proceed with commit? (y/n): "
read yn < /dev/tty
- [ "$yn" == "${yn#[Yy]}" ] && return 1
+ [ "$yn" = "${yn#[Yy]}" ] && return 1
return 0
}