Commit b7b54a73 authored by ericw's avatar ericw
Browse files

Check that node is defined

parent 2affec36
......@@ -6,7 +6,7 @@
# 1) environmental variables SAME_OK and SAME_ERROR are defined
# 2) . $CMS_PATH/cmsset_default.sh has already been run
#
# $Id: CMSSW_frontier.sh,v 1.5 2007/02/15 17:21:16 ericw Exp $
# $Id: CMSSW_frontier.sh,v 1.6 2007/02/15 19:25:27 ericw Exp $
#
uname -n
#
......@@ -83,7 +83,7 @@ fi
# Test access to squid
#
node=`grep proxy $CMS_PATH/SITECONF/local/JobConfig/site-local-config.xml | cut -f 3 -d/ | cut -f 1 -d: | head -1`
if [ $node != "" ]
if [ "$node" != "" ]
then
ping -c 1 $node
sping=$?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment