0

如何避免退出状态消息?

我的 capistrano 部署脚本中有许多 bash 命令。例如:

capture "mkdir -p #{path_img_out}/original"

它多次调用并打印输出:

DEBUG [dd6ca4fa] Command: mkdir -p /home/deploy/www/test/shared/backups/20140307160556/public/system/images/files/original
DEBUG [dd6ca4fa] Finished in 0.098 seconds with exit status 0 (successful).

如何隐藏此消息?

4

0 回答 0