Unix for Oracle DBAs Pocket Reference by Donald K. Burleson Unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. If you have error reports or technical questions, you can send them to booktech@oreilly.com. (Please specify the printing date of your copy.) This page was last updated on December 18, 2003. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language or formatting problem (page-number): minor formatting problem, or language change ?page-number?: question or request for clarification UNCONFIRMED errors and comments: [98] Lsast code block; The last code block contains the following statement: if [ $oracle_num -gt 0 ] then exit 0 fi This is not correct, because if $oracle_num is greater than zero, if the database CANNOT be reached ("error" was detetected in output). The mail should only be send in the case of an error ( $oracle_num > 0 ). The statement should read: if [ $oracle_num -eq 0 ] then exit 0 fi