On Thu, 21 Aug 2014, Steffen Nurpmeso wrote:
|    wedgelist="$(dkctl "$disk" listwedges)"
|    if [ $? = 0 ]; then

You mean -eq here i presume.

It makes no difference.  -eq is a numeric test, and = is a string test.
"0" compares equal to "0" either way.  Since the shall has the values as
strings already, I usually prefer to use a string test.

--apb (Alan Barrett)

Reply via email to