wttech / CQ-Unix-Toolkit

CQ Unix Toolkit
46 stars 23 forks source link

Misleading redirect to stderr removed after successful package upload #15

Closed jwadolowski closed 10 years ago

jwadolowski commented 10 years ago

Currently cqput command outputs OK message to stderr after successful package upload, which is totally wrong. stderr descriptor should stay empty if exit code is 0.

Problem described here was sort of a blocker to me, as I've been doing validation after cqput execution that takes into consideration not only exit codes but also presence of content in stderr descriptor. In the end CRX package was successfully uploaded, but my ruby script exits with error message OK every single time I run it.