commit | b65bf015baf0f676a15ebb66dee16498c385a5ad | [log] [tgz] |
---|---|---|
author | ILYA Khlopotov <iilyak@ca.ibm.com> | Tue May 24 17:33:57 2016 -0700 |
committer | ILYA Khlopotov <iilyak@ca.ibm.com> | Tue May 24 17:33:57 2016 -0700 |
tree | afb5394d9a5192084f7d8df4cc452097cabe4473 | |
parent | 628a0f4b179703fe42191caebc2052327162267e [diff] |
couch_file:process_info can return `undefined`
diff --git a/src/couch_file.erl b/src/couch_file.erl index d2b3960..8346b02 100644 --- a/src/couch_file.erl +++ b/src/couch_file.erl
@@ -664,7 +664,7 @@ end. -spec process_info(CouchFilePid :: pid()) -> - {Fd :: pid() | tuple(), FilePath :: string()}. + {Fd :: pid() | tuple(), FilePath :: string()} | undefined. process_info(Pid) -> {dictionary, Dict} = erlang:process_info(Pid, dictionary),