Skip to content

Commit

Permalink
Merge branch 'branches/rudder/6.1' into branches/rudder/6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
peckpeck committed Jun 17, 2021
2 parents 1f7d325 + 2a42f9f commit 79672d8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rudder-agent/SOURCES/rudder-agent-postinst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ if [ -d /proc/self/fd ] && [ "$(uname -s)" != "SunOS" ]
then
for f in /proc/self/fd/*; do
fd=$(basename "${f}")
[ "$fd" -gt 2 ] && eval "exec $fd>&-"
if [ "$fd" -gt 2 ] && [ -e "$fd" ]
then
eval "exec $fd>&-"
fi
done
fi

Expand Down

0 comments on commit 79672d8

Please sign in to comment.