creating exports from resource
Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
77bdfba816
commit
847d11611b
@@ -46,7 +46,8 @@ func templateFileBlock(inc string, abortStr string) (string, error) {
|
||||
wwlog.Debug("Including file block into template: %s", inc)
|
||||
readFile, err := os.Open(inc)
|
||||
if err != nil {
|
||||
return "", err
|
||||
wwlog.Info("couldn't read block %s: %s", inc, err)
|
||||
return abortStr, nil
|
||||
}
|
||||
defer readFile.Close()
|
||||
var cont string
|
||||
|
||||
Reference in New Issue
Block a user