From 43fffe976970eb6cd8378221eb428c0151ca6bdb Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 12 Dec 2005 20:36:17 +0000 Subject: [PATCH] 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 --- src/srfsh/srfsh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.11.0