diff options
author | Matt Wilson <msw@redhat.com> | 2000-01-28 16:37:26 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2000-01-28 16:37:26 +0000 |
commit | 6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4 (patch) | |
tree | 2f4b640a31ddaf197442bd9131c6f9ac2adfacb3 /utils/checkcards.py | |
parent | d9e09038e5130ec1c6c8ff0f69b7aef94f9692a7 (diff) | |
download | anaconda-6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4.tar.gz anaconda-6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4.tar.xz anaconda-6f92bf9fb58f6925f0d1e3d6011abfc00feafeb4.zip |
have a return code
Diffstat (limited to 'utils/checkcards.py')
-rwxr-xr-x | utils/checkcards.py | 5 |
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) + |