diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go
index 8f1c4a8c2e91077457d573beef9458179b3366ea..8567dcff83e76aaeff5f35090f2ed28f67774e05 100644
--- a/cmd/rlpdump/main.go
+++ b/cmd/rlpdump/main.go
@@ -110,8 +110,7 @@ func dump(s *rlp.Stream, depth int) error {
 		s.List()
 		defer s.ListEnd()
 		if size == 0 {
-			fmt.Printf(ws(depth) + "[]")
-			return nil
+			fmt.Print(ws(depth) + "[]")
 		} else {
 			fmt.Println(ws(depth) + "[")
 			for i := 0; ; i++ {