From: Jameson Rollins Date: Mon, 18 Jan 2010 16:50:08 +0000 (-0500) Subject: suppress superfulous error output X-Git-Tag: monkeysphere_0.28~27 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=606133ecceee2b6f41b319f19dc7f6d58c9869bb;p=monkeysphere.git suppress superfulous error output --- diff --git a/src/monkeysphere-host b/src/monkeysphere-host index eadd74b..da37618 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -101,7 +101,7 @@ update_gpg_pub_file() { } host_fingerprints() { - local fprs=($(cat "$HOST_KEY_FPR_FILE")) + local fprs=($(cat "$HOST_KEY_FPR_FILE" 2>/dev/null)) log debug "host key fingerprints:" printf '%s\n' "${fprs[@]}" | log debug