andykimpe / rpms / 389-ds-base

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

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

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