srfsh accepts exit and ExIt
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 Jan 2006 22:13:01 +0000 (22:13 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 11 Jan 2006 22:13:01 +0000 (22:13 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2691 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/src/srfsh/srfsh.c

index 4870b88..b1c49a5 100644 (file)
@@ -60,7 +60,7 @@ int main( int argc, char* argv[] ) {
        char* request;
        while((request=readline(prompt))) {
 
-               if( !strcmp(request, "exit") || !strcmp(request,"quit")) 
+               if( !strcasecmp(request, "exit") || !strcasecmp(request,"quit")) 
                        break; 
 
                char* req_copy = strdup(request);