srfsh reports to stderr when a config file could not be found
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Dec 2005 20:36:17 +0000 (20:36 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 12 Dec 2005 20:36:17 +0000 (20:36 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2350 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/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;
        }