From cc6f6fc5375be3a0c3276af5bfb993713b65c3c9 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 28 Jun 2018 15:21:33 -0600 Subject: [PATCH] fix npm progress pid --- usr/share/install_helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 88ade54..6a68f1a 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -200,11 +200,11 @@ pushd $TELEBIT_TMP >/dev/null else echo -n "." fi - $tmp_npm install >/dev/null 2>/dev/null & + $tmp_npm install & #>/dev/null 2>/dev/null & tmp_npm_pid=$! while $tmp_npm_pid; do sleep 2 - kill -s 0 $tmp_npm_pid && $tmp_npm_pid="" || true + kill -s 0 $tmp_npm_pid || tmp_npm_pid="" echo -n "." done popd >/dev/null