From 4a6dce2dd620b22a7c3238df7ff991caa484f3ea Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 27 Jul 2005 21:46:04 +0000 Subject: [PATCH] checking in... see diffs git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@440 9efc2488-bf62-4759-914b-345cdb29e865 --- bin/opensrf_ctl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/opensrf_ctl b/bin/opensrf_ctl index 39a45b8..5449094 100755 --- a/bin/opensrf_ctl +++ b/bin/opensrf_ctl @@ -32,7 +32,7 @@ function startSystem { "stop") PID=$(ps ax | grep "[0-9] System$" | awk '{print $1}'); - if [ -z $PID ]; then + if [ -z "$PID" ]; then echo "OpenSRF System is not running"; exit; fi @@ -43,7 +43,7 @@ function startSystem { "status") PID=$(ps ax | grep "[0-9] System$" | awk '{print $1}'); - if [ -z $PID ]; then + if [ -z "$PID" ]; then echo "OpenSRF System is not running"; exit 0; fi -- 2.11.0