diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-04-26 20:03:55 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-04-26 20:03:55 -0300 |
commit | 176efc9b17199d19aad129a651c1ef0cd3afa3c0 (patch) | |
tree | f5c867647f67aad9282ce9c8775353be8906ce3b /share | |
parent | f04c05d3432cc8f59c28ce98c17dd407d658c5b6 (diff) | |
download | hydra-176efc9b17199d19aad129a651c1ef0cd3afa3c0.tar.gz hydra-176efc9b17199d19aad129a651c1ef0cd3afa3c0.tar.bz2 |
Newkeys: fixing iteration
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydra/newkeys | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/hydra/newkeys b/share/hydra/newkeys index c418f5c..09e1c35 100755 --- a/share/hydra/newkeys +++ b/share/hydra/newkeys @@ -29,7 +29,7 @@ function hydra_newkeys { hydra_genpairs ssh elif [ "$1" == "all-pgp" ]; then hydra_genpairs pgp - elif [ ! -z "$1" ]; then + elif [ ! -z "$1" ] && [ "$node" == "$1" ]; then hydra_genpairs $2 exit $? elif [ ! -e "$privkey" ] || [ ! -e "$pubkey" ]; then |