summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xserver/config/SSSDConfigTest.py3
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)