Blob Blame Raw
From 553bd2b7842a1f23510f4083b7a4762396381edb Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Tue, 26 Apr 2016 08:24:13 +0200
Subject: [PATCH] a-console-notification: do not leak variables

https://github.com/pld-linux/abrt/blob/adb4721f7f60f7c00f7f5e4f5f382207636140f3/profile.sh.patch

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 src/cli/abrt-console-notification.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/cli/abrt-console-notification.sh b/src/cli/abrt-console-notification.sh
index a98f164..f1a79ff 100755
--- a/src/cli/abrt-console-notification.sh
+++ b/src/cli/abrt-console-notification.sh
@@ -40,3 +40,5 @@ if [ -f "$TMPPATH" ]; then
 fi
 
 timeout 10s abrt-cli status --since="$SINCE" 2>"$ABRT_DEBUG_LOG" || echo "'abrt-cli status' timed out"
+
+unset ABRT_DEBUG_LOG LPATHDIR SINCEFILE TMPPATH SINCE
-- 
2.7.4