amoralej / rpms / 389-ds-base

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

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

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