summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-01-28 16:37:26 +0000
committerMatt Wilson <msw@redhat.com>2000-01-28 16:37:26 +0000
commit6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4 (patch)
tree2f4b640a31ddaf197442bd9131c6f9ac2adfacb3 /utils
parentd9e09038e5130ec1c6c8ff0f69b7aef94f9692a7 (diff)
downloadanaconda-6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4.tar.gz
anaconda-6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4.tar.xz
anaconda-6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4.zip
have a return code
Diffstat (limited to 'utils')
-rwxr-xr-xutils/checkcards.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/checkcards.py b/utils/checkcards.py
index 6744bf6ff..6ac81755b 100755
--- a/utils/checkcards.py
+++ b/utils/checkcards.py
@@ -56,6 +56,11 @@ for line in lines:
carddb = getcards (cardsfile)
+rc = 0
for card in cards:
if not carddb.has_key(card):
print "*** pcitable error *** Card not found:", card
+ rc = 1
+
+sys.exit(rc)
+