diff --git a/src/pkg/strconv/quote.go b/src/pkg/strconv/quote.go index ccd1062645..53774ee6f8 100644 --- a/src/pkg/strconv/quote.go +++ b/src/pkg/strconv/quote.go @@ -239,7 +239,7 @@ func Unquote(s string) (t string, err os.Error) { return s, nil } if quote != '"' && quote != '\'' { - return "", err + return "", os.EINVAL } var buf bytes.Buffer