From e1eaed341d4e52a8760d4a311685bd759048fe0a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 30 Sep 2018 00:30:36 +0200 Subject: [PATCH] Fix whitespace --- Hooks/default.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hooks/default.sh b/Hooks/default.sh index 6614038..e9fea1b 100644 --- a/Hooks/default.sh +++ b/Hooks/default.sh @@ -1,6 +1,6 @@ #!/bin/bash -strindex() { +strindex() { x="${1%%$2*}" [[ "$x" = "$1" ]] && echo -1 || echo "${#x}" }