zrhoffman / rpms / 389-ds-base

Forked from rpms/389-ds-base 3 years ago
Clone

Blame SOURCES/0048-Ticket-49157-fix-error-in-ds-logpipe.py.patch

b69e47
From 33dc0b3fc6de5d7a400d24a69098ec1b23917e44 Mon Sep 17 00:00:00 2001
b69e47
From: Mark Reynolds <mreynolds@redhat.com>
b69e47
Date: Mon, 22 May 2017 12:25:42 -0400
b69e47
Subject: [PATCH] Ticket 49157 - fix error in ds-logpipe.py
b69e47
b69e47
Description:  Fix typo in ds-logpipe.py
b69e47
b69e47
https://pagure.io/389-ds-base/issue/49157
b69e47
b69e47
Reviewed by: mreynolds(one line commit rule)
b69e47
b69e47
(cherry picked from commit 15f5f6ac42768ae0cd2040cc4169abde8187bcdf)
b69e47
---
b69e47
 ldap/admin/src/scripts/ds-logpipe.py | 2 +-
b69e47
 1 file changed, 1 insertion(+), 1 deletion(-)
b69e47
b69e47
diff --git a/ldap/admin/src/scripts/ds-logpipe.py b/ldap/admin/src/scripts/ds-logpipe.py
b69e47
index 13712ea..f29a9ff 100644
b69e47
--- a/ldap/admin/src/scripts/ds-logpipe.py
b69e47
+++ b/ldap/admin/src/scripts/ds-logpipe.py
b69e47
@@ -318,7 +318,7 @@ except OSError as e:
b69e47
             sys.exit(1)
b69e47
     else:
b69e47
         print("Failed to create log pipe - %s [error %d]" % (e.strerror, e.errno))
b69e47
-        sys.ext(1)
b69e47
+        sys.exit(1)
b69e47
 
b69e47
 if debug:
b69e47
     print("Listening to log pipe", logfname, "number of lines", maxlines)
b69e47
-- 
b69e47
2.9.4
b69e47