Zdenek Styblik
2013-12-09 09:54:42 UTC
On Mon, Dec 9, 2013 at 10:08 AM, Zdenek Styblik
Z.
Hello Charles,
I'm a bit confused about this patch and patch#84 I've reviewed just a
minute ago. Looking at it, it seems to me like iteration of previous.
Therefore, why are there two tickets and two patches? Why isn't former
closed as obsolete, if nothing else? Or should patches be applied
consecutively?
~~~
+ rm -f ${SNMPD_BMC_CONF}
[ $? -ne 0 ] && RETVAL=5
~~~
-> ``rm -f ${SNMPD_BMC_CONF} || RETVAL = 5''
~~~
+ temp_ping=$(ping -c 1 -I ${dev} ${BMC_IPv4})
+ [ $? -ne 0 ] && continue
+ echo $temp_ping| awk '{print $5}' && break
~~~
What exactly is purpose of this? What is the expected output here?
~~~
+ echo $temp_ping| awk '{print $5}' && break
~~~
-> ``printf -- "%s\n" "${temp_ping}" | ...''
Best regards,
Z.
I forgot to add ipmitool-devel@ on CC.I'm a bit confused about this patch and patch#84 I've reviewed just a
minute ago. Looking at it, it seems to me like iteration of previous.
Therefore, why are there two tickets and two patches? Why isn't former
closed as obsolete, if nothing else? Or should patches be applied
consecutively?
~~~
+ rm -f ${SNMPD_BMC_CONF}
[ $? -ne 0 ] && RETVAL=5
~~~
-> ``rm -f ${SNMPD_BMC_CONF} || RETVAL = 5''
~~~
+ temp_ping=$(ping -c 1 -I ${dev} ${BMC_IPv4})
+ [ $? -ne 0 ] && continue
+ echo $temp_ping| awk '{print $5}' && break
~~~
What exactly is purpose of this? What is the expected output here?
~~~
+ echo $temp_ping| awk '{print $5}' && break
~~~
-> ``printf -- "%s\n" "${temp_ping}" | ...''
Best regards,
Z.
Z.
--
Zdenek Styblik
Zdenek Styblik