diff --git a/packaging/tools/post.sh b/packaging/tools/post.sh index 6b4d1837647ee78747e271ddcdf5fac95d490b10..7a416c55761dc647c394232af531b68351eba5f6 100755 --- a/packaging/tools/post.sh +++ b/packaging/tools/post.sh @@ -265,8 +265,14 @@ function install_config() { [ -f ${cfg_dir}/taos.cfg ] && ${csudo} cp ${cfg_dir}/taos.cfg ${cfg_install_dir} ${csudo} chmod 644 ${cfg_install_dir}/* fi + + # Save standard input to 6 and open / dev / TTY on standard input + exec 6<&0 0