From: erickson Date: Mon, 12 Dec 2005 20:36:17 +0000 (+0000) Subject: srfsh reports to stderr when a config file could not be found X-Git-Tag: osrf_rel_2_0_1~1263 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=43fffe976970eb6cd8378221eb428c0151ca6bdb;p=OpenSRF.git srfsh reports to stderr when a config file could not be found git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@610 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/srfsh/srfsh.c b/src/srfsh/srfsh.c index 85edc6d..6922487 100644 --- a/src/srfsh/srfsh.c +++ b/src/srfsh/srfsh.c @@ -18,12 +18,13 @@ int main( int argc, char* argv[] ) { if(!access(fbuf, R_OK)) { if( ! osrf_system_bootstrap_client(fbuf, "srfsh") ) { + fprintf(stderr,"Unable to bootstrap client for requests\n"); osrfLogError( "Unable to bootstrap client for requests"); return -1; } } else { - osrfLogError( "No Config file found at %s", fbuf ); + fprintf(stderr,"No Config file found at %s\n", fbuf ); return -1; }