suppress superfulous error output
authorJameson Rollins <jrollins@finestructure.net>
Mon, 18 Jan 2010 16:50:08 +0000 (11:50 -0500)
committerJameson Rollins <jrollins@finestructure.net>
Mon, 18 Jan 2010 16:50:08 +0000 (11:50 -0500)
src/monkeysphere-host

index eadd74bcedb1e4d1abdd896c199b7ebf4b18e63a..da376185ed017192d314360dc9e13d894c455702 100755 (executable)
@@ -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