summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-system/gen_lib_xml.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-25 19:55:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-25 19:55:31 (GMT)
commitb1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e (patch)
tree96a1bc9275519a36a4b010951d29a560c3fc0a49 /abs/core/LinHES-system/gen_lib_xml.py
parent98601eca343f83da9a4a7470a66b18ac97a15ef0 (diff)
downloadlinhes_pkgbuild-b1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e.zip
linhes_pkgbuild-b1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e.tar.gz
linhes_pkgbuild-b1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e.tar.bz2
LinHES-system: gen_is/lib_xml change exit code when conf files are not present to 0. This prevents a pacman install from saying something about errors
Diffstat (limited to 'abs/core/LinHES-system/gen_lib_xml.py')
-rw-r--r--abs/core/LinHES-system/gen_lib_xml.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/LinHES-system/gen_lib_xml.py b/abs/core/LinHES-system/gen_lib_xml.py
index 503d39c..3e9019b 100644
--- a/abs/core/LinHES-system/gen_lib_xml.py
+++ b/abs/core/LinHES-system/gen_lib_xml.py
@@ -29,7 +29,7 @@ class Gen_lib_xml:
except:
print " gen_lib_xml: Couldn't change dir to %s" %self.snippit_dir
print " Exiting"
- sys.exit(2)
+ sys.exit(0)
file_list=glob.glob("*.conf")
for conf_file in file_list:
try:
@@ -40,7 +40,7 @@ class Gen_lib_xml:
except:
print " gen_lib_xml: Couldn't open %s for reading" %conf_file
print " Exiting"
- sys.exit(2)
+ sys.exit(0)
if len(file_list) == 0:
print " gen_lib_xml: no conf files found"