summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kswriter/KSWriter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kswriter/KSWriter.py b/kswriter/KSWriter.py
index 12ba899..3117bae 100644
--- a/kswriter/KSWriter.py
+++ b/kswriter/KSWriter.py
@@ -113,7 +113,7 @@ class KSWriter():
postscript += "\n"
f.close()
else:
- print '%s/scripts/%s.post not found, skipping.' %(meta_root,scr )
+ raise KSMetaError('%s/scripts/%s.post not found, aborting.' %(meta_root,scr ))
nochrootscript = ""
for scr in conf['NoChrootScripts']:
@@ -123,7 +123,7 @@ class KSWriter():
nochrootscript += "\n"
f.close()
else:
- print '%s/scripts/%s.nochroot not found, skipping.' %(meta_root, scr )
+ raise KSMetaError('%s/scripts/%s.nochroot not found, aborting.' %(meta_root, scr ))
ptab = ""
for g in [ plat, img ]: