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

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