diff options
author | Christian Hesse <mail@eworm.de> | 2023-12-21 11:33:09 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-12-21 11:34:55 +0100 |
commit | 1c26d082673e9b72638a3001ab9bedce9399407a (patch) | |
tree | 9ea0a1d046959e2efb44ecd51d68fdec111937b7 | |
parent | 0377064f65e124aa7ce060f18310fb65976b412e (diff) |
mod/ssh-keys-import: unbreak import from file
Looks like this broke in c3045f372350bd8dd0a8f10efb8a4b938e896145 where
a non-existent variable name was used.
-rw-r--r-- | mod/ssh-keys-import.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/ssh-keys-import.rsc b/mod/ssh-keys-import.rsc index 1513114..79c1e22 100644 --- a/mod/ssh-keys-import.rsc +++ b/mod/ssh-keys-import.rsc @@ -85,7 +85,7 @@ :local Continue false; :local Line [ :pick $Keys 0 [ :find $Keys "\n" ] ]; :set Keys [ :pick $Keys ([ :find $Keys "\n" ] + 1) [ :len $Keys ] ]; - :local KeyVal [ :toarray [ $CharacterReplace $Key " " "," ] ]; + :local KeyVal [ :toarray [ $CharacterReplace $Line " " "," ] ]; :if ($KeyVal->0 = "ssh-ed25519" || $KeyVal->0 = "ssh-rsa") do={ :do { $SSHKeysImport $Line $User; |