From a1464f0c656bda03a1c7b60c5b62b525e19ac719 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/ILS/trunk@2350 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- OpenSRF/src/srfsh/srfsh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSRF/src/srfsh/srfsh.c b/OpenSRF/src/srfsh/srfsh.c index 85edc6dcae..69224873c8 100644 --- a/OpenSRF/src/srfsh/srfsh.c +++ b/OpenSRF/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.43.2