fix typo
This commit is contained in:
parent
c89910d5f5
commit
2cc47f9398
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
URL="https://dl.sneak.cloud/0000/authorized_keys"
|
URL="https://dl.sneak.cloud/0000/authorized_keys"
|
||||||
|
|
||||||
function install_authorized_keys() {
|
function install_authorized_keys () {
|
||||||
mkdir -p /root/.ssh
|
mkdir -p /root/.ssh
|
||||||
curl -sL $URL > /root/.ssh/authorized_keys.new
|
curl -sL $URL > /root/.ssh/authorized_keys.new
|
||||||
if [[ $(wc -l /root/.ssh/authorized_keys.new | awk '{print $1}') -gt 0 ]]; then
|
if [[ $(wc -l /root/.ssh/authorized_keys.new | awk '{print $1}') -gt 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue