checking in... see diffs
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 27 Jul 2005 21:46:04 +0000 (21:46 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Wed, 27 Jul 2005 21:46:04 +0000 (21:46 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@440 9efc2488-bf62-4759-914b-345cdb29e865

bin/opensrf_ctl

index 39a45b8..5449094 100755 (executable)
@@ -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