diff options
author | Sumit Bose <sbose@redhat.com> | 2009-12-11 15:37:00 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2009-12-15 08:33:55 -0500 |
commit | bf2aa749ed5b9e1856918460606fce9ac97db580 (patch) | |
tree | 7fb201c7ca96c446e29a82ae6150f0ad702be895 /server/config | |
parent | efeff4b2d52525f35ba3c719a3432c3b390e3df2 (diff) | |
download | sssd-bf2aa749ed5b9e1856918460606fce9ac97db580.tar.gz sssd-bf2aa749ed5b9e1856918460606fce9ac97db580.tar.bz2 sssd-bf2aa749ed5b9e1856918460606fce9ac97db580.zip |
Use sys.exit instead of exit
Diffstat (limited to 'server/config')
-rwxr-xr-x | server/config/SSSDConfigTest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/config/SSSDConfigTest.py b/server/config/SSSDConfigTest.py index 9b7599c2..f893d98f 100755 --- a/server/config/SSSDConfigTest.py +++ b/server/config/SSSDConfigTest.py @@ -1359,6 +1359,7 @@ if __name__ == "__main__": error = 0 import os + import sys srcdir = os.getenv('srcdir') if srcdir: srcdir = srcdir + "/config" @@ -1390,4 +1391,4 @@ if __name__ == "__main__": if not res.wasSuccessful(): error |= 0x10 - exit(error) + sys.exit(error) |