From fe33c68ceed543942bcddb0cdf802d27f2531be9 Mon Sep 17 00:00:00 2001 From: ericagar Date: Thu, 8 Sep 2011 03:21:15 +0000 Subject: [PATCH] Fix for defect 3405954: Fix bashisms in mkresolvconf. Checking in on behalf of coworker Leonardo Tonetto (leont@br.ibm.com). git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10469 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/mkresolvconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/mkresolvconf b/xCAT/postscripts/mkresolvconf index 3972f4370..508dbf922 100755 --- a/xCAT/postscripts/mkresolvconf +++ b/xCAT/postscripts/mkresolvconf @@ -19,7 +19,7 @@ master=$MASTER # this is the ip for the nodes xcatmaster attribute domain=$DOMAIN # this is the domain name used in this cluster node=$NODE -if [[ -n "$master" ]] && [[ -n "$domain" ]]; then +if [ -n "$master" ] && [ -n "$domain" ]; then #logger -t xcat "Created /etc/resolv.conf file on $node." cp $conf_file $conf_file_bak > /dev/null 2>&1