From 5a76702175735592ddbed2051e65d4d7c5797a66 Mon Sep 17 00:00:00 2001 From: Vratislav Podzimek Date: Fri, 30 Nov 2018 11:36:23 +0100 Subject: [PATCH] WIP: Close the console FD on upgrade --- packaging/common/cfengine-hub/postinstall.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packaging/common/cfengine-hub/postinstall.sh b/packaging/common/cfengine-hub/postinstall.sh index 2f7864967..0b33cc343 100644 --- a/packaging/common/cfengine-hub/postinstall.sh +++ b/packaging/common/cfengine-hub/postinstall.sh @@ -893,4 +893,6 @@ fi rm -f "$PREFIX/UPGRADED_FROM.txt" +exec $CONSOLE>&- + exit 0