Commit 6bdbebfb authored by Dan Reading's avatar Dan Reading

bad bash syntax, bug only hit under FBSD and WCE bit not set.

parent 15b80375
...@@ -571,7 +571,7 @@ getwcache() { ...@@ -571,7 +571,7 @@ getwcache() {
res="enabled" res="enabled"
elif [ "${x/0}" != "$x" ] ; then elif [ "${x/0}" != "$x" ] ; then
res="disabled" res="disabled"
printf " %s:%d " "Setting WCE" ${$sd} >> ${logfile4tb} printf " %s:%s " "Setting WCE" "$sd" >> ${logfile4tb}
/usr/local/etc/emulab/camwce -P on $sd > /dev/null 2>&1 /usr/local/etc/emulab/camwce -P on $sd > /dev/null 2>&1
fi fi
fi fi
......
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