From 204a04140ab04d485b31c4db099cdbe1e50e01e2 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 11 Jan 2006 22:13:01 +0000 Subject: [PATCH] srfsh accepts exit and ExIt git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@620 9efc2488-bf62-4759-914b-345cdb29e865 --- src/srfsh/srfsh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.0