use t.Fatal() to output the err message and fix typo Upstream-commit: 76b6faa13d Component: cli
76b6faa13d