From: erickson Date: Wed, 11 Jan 2006 22:13:01 +0000 (+0000) Subject: srfsh accepts exit and ExIt X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=204a04140ab04d485b31c4db099cdbe1e50e01e2;p=working%2FOpenSRF.git srfsh accepts exit and ExIt git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@620 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/srfsh/srfsh.c b/src/srfsh/srfsh.c index 4870b88..b1c49a5 100644 --- a/src/srfsh/srfsh.c +++ b/src/srfsh/srfsh.c @@ -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);