Check for a host key before running monkeysphere-host diagnostics
authorGreg Lyle <greg@stealthisemail.com>
Sat, 11 Jul 2009 21:38:53 +0000 (17:38 -0400)
committerGreg Lyle <greg@stealthisemail.com>
Sat, 11 Jul 2009 21:38:53 +0000 (17:38 -0400)
Closes #624

src/monkeysphere-host

index ebd29c81754bf7103e0b6f21f9cb51914add333d..d49806560a64b5af26111914bb834fb76dbcc36d 100755 (executable)
@@ -306,6 +306,7 @@ case $COMMAND in
        ;;
 
     'diagnostics'|'d')
+       check_host_no_key
        load_fingerprint
        source "${MHSHAREDIR}/diagnostics"
        diagnostics