mirror of
https://github.com/LamGC/quickly-conf-sshd.git
synced 2025-04-30 06:37:35 +00:00
修复一个奇怪的 bug.
This commit is contained in:
parent
732d37035e
commit
541c316935
@ -77,7 +77,7 @@ update_sshkeys() {
|
|||||||
echo "Please specify the URL of the SSH public key."
|
echo "Please specify the URL of the SSH public key."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
echo "Downloading SSH public key from `$sshkey_url`"
|
echo "Downloading SSH public key from '$sshkey_url'"
|
||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
local ssh_keys=$(curl -s $sshkey_url)
|
local ssh_keys=$(curl -s $sshkey_url)
|
||||||
if [ $? -ne 0 ] || [ "$ssh_keys" == "" ]; then
|
if [ $? -ne 0 ] || [ "$ssh_keys" == "" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user