only touch the known_hosts file if it does not exist, and create the parent directory...
[monkeysphere.git] / src / monkeysphere
index c45a36f94d811d3a2ae5eaab382c557c0d0af1d3..341b9fdbd4fefa8366a5d38205e99559d19e84d0 100755 (executable)
@@ -144,7 +144,7 @@ check_gpg_authentication_subkey() {
        if [ "$validity" = 'u' ] ; then
            echo "A valid authentication key already exists for primary key '$keyID'." 1>&2
            if [ "$PROMPT" = "true" ] ; then
-               printf "Are you sure you would like to generate another one? (y/N) "
+               printf "Are you sure you would like to generate another one? (y/N) " >&2
                read OK; OK=${OK:N}
                if [ "${OK/y/Y}" != 'Y' ] ; then
                    failure "aborting."