bin/pomelo: fix err output bug

Change-Id: I7df34a599c2a61dd0992ed5966f76dd614efe849
Merge "bin/pomelo: fix err output bug"