mirror of
				https://github.com/LamGC/quickly-conf-sshd.git
				synced 2025-11-04 10:36:56 +00:00 
			
		
		
		
	修复一个奇怪的 bug.
This commit is contained in:
		@ -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
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user