change $username to $arg_username
ci/woodpecker/push/woodpecker Pipeline was successful Details

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-11-22 18:01:44 -05:00
parent 3a9c3a6afc
commit 48a22e6d58
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ submit_challenge() {
"$runtime_dir/$arg_username" 2>&1 |
sed -n 's/.*using.*key \(.*\)/\1/p')" == \
"$keyid" ]]; then
echo "$key" >> "/vm/$username/.ssh/authorized_keys"
echo "$key" >> "/vm/$arg_username/.ssh/authorized_keys"
page=success
return
else