Merge pull request #152 from laijs/error-propagation

test: propagate the error to the caller
This commit is contained in:
Alexander Morozov
2015-07-25 10:15:16 -07:00
+1 -1
View File
@@ -72,7 +72,7 @@ func newRootfs() (string, error) {
return "", err
}
if err := copyBusybox(dir); err != nil {
return "", nil
return "", err
}
return dir, nil
}