diff --git a/cmd/utils/jeth.go b/cmd/utils/jeth.go
index 708d457c66e38f41e41ce1f4c258b2314fdc01f1..cccf1bcf8f140fb9ad776e7772ba48f5444c80de 100644
--- a/cmd/utils/jeth.go
+++ b/cmd/utils/jeth.go
@@ -76,10 +76,9 @@ func (self *Jeth) UnlockAccount(call otto.FunctionCall) (response otto.Value) {
 	if call.Argument(1).IsUndefined() || call.Argument(1).IsNull() {
 		fmt.Printf("Unlock account %s\n", account)
 		if input, err := Stdin.PasswordPrompt("Passphrase: "); err != nil {
-			return otto.FalseValue()
-			passwd, _ = otto.ToValue(input)
-		} else {
 			throwJSExeception(err.Error())
+		} else {
+			passwd, _ = otto.ToValue(input)
 		}
 	} else {
 		if !call.Argument(1).IsString() {