diff --git a/bin/deploy b/bin/deploy index e0a9ab6..d10c19e 100755 --- a/bin/deploy +++ b/bin/deploy @@ -127,7 +127,7 @@ fi if [ "$1" = "update" ]; then single="$2" can_sign=0 - for i in $(ssh-add -L | awk '{print $NF}'); do + for i in $(ssh-add -L | awk '{print $2}'); do grep -q $i .allowed_signers && can_sign=1 done