[...] Instead of Code: if [ ! $passhash == $encpass ]; then Shouldn't we write this? Code: if [ ! x$passhash == x$encpass ]; then
if [ ! $passhash == $encpass ]; then
if [ ! x$passhash == x$encpass ]; then
"
==
if [ ! "$passhash" = "$encpass" ]; then