Ignore output from dockersync.sh

This commit is contained in:
Petros Angelatos 2015-05-07 17:45:25 +00:00 committed by Pablo Carranza Velez
parent 79d638f4f5
commit 071ee3dcf4

View File

@ -70,7 +70,7 @@ exports.rsyncImageWithProgress = (imgDest, onProgress) ->
return [ rsyncDiff, imageConfig, imgSrc ] return [ rsyncDiff, imageConfig, imgSrc ]
.spread (rsyncDiff, imageConfig, imgSrc) -> .spread (rsyncDiff, imageConfig, imgSrc) ->
new Promise (resolve, reject) -> new Promise (resolve, reject) ->
dockersync = spawn('/app/src/dockersync.sh', [ imgSrc, imgDest, JSON.stringify(imageConfig) ]) dockersync = spawn('/app/src/dockersync.sh', [ imgSrc, imgDest, JSON.stringify(imageConfig) ], stdio: [ 'pipe', 'ignore', 'ignore' ])
.on 'error', reject .on 'error', reject
.on 'exit', (code, signal) -> .on 'exit', (code, signal) ->
if code isnt 0 if code isnt 0