Skip to content

Commit

Permalink
return if error
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Aug 4, 2012
1 parent 3414689 commit d155573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/imager.js
Expand Up @@ -281,7 +281,7 @@ Imager.prototype = {
})

function addFileToContainer(err, c) {
if (err) callback(err)
if (err) return callback(err)
var options = {
remote: dfile
, headers: {
Expand Down

0 comments on commit d155573

Please sign in to comment.