srfsh reports to stderr when a config file could not be found
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 12 Dec 2005 20:36:17 +0000 (20:36 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 12 Dec 2005 20:36:17 +0000 (20:36 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@610 9efc2488-bf62-4759-914b-345cdb29e865

src/srfsh/srfsh.c

index 85edc6d..6922487 100644 (file)
@@ -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;
        }