File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ LC_ALL=C
2121export LC_ALL
2222
2323readonly APP_NAME=" git-ssh"
24- readonly VERSION=" 3.2.1 "
24+ readonly VERSION=" 3.2.2 "
2525readonly CONFIG_VERSION=2
2626
2727# Where our configs live
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ _get_allowed_ssh_signers() {
7272_collect_allowed_signers () {
7373 _collected=" $( cat " ${_allowed_file} " ) "
7474
75- # If your signer file has something like 'namespace ="git"', then there is a fourth column
76- if printf -- ' %s' " ${_collected} " | grep -q ' namespace =' > /dev/null 2>&1 ; then
75+ # If your signer file has something like 'namespaces ="git"', then there is a fourth column
76+ if printf -- ' %s' " ${_collected} " | grep -q ' namespaces =' > /dev/null 2>&1 ; then
7777 printf -- ' %s' " ${_collected} " | awk ' { print $4 }'
7878 else
7979 printf -- ' %s' " ${_collected} " | awk ' { print $3 }'
@@ -100,8 +100,6 @@ main() {
100100 _allowed_signers=" $( _collect_allowed_signers) "
101101 _current_keychain=" $( _collect_current_keychain) "
102102
103- echo " ALLOW: ${_allowed_signers} "
104-
105103 if [ -z " ${_allowed_signers} " ]; then
106104 _elog ' No allowed signers found. Cannot commit.'
107105 return 1
You can’t perform that action at this time.
0 commit comments