From 92c1180d0f21b6ea06ceab12454f326e1361f5da Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 28 Jun 2018 15:23:02 -0600 Subject: [PATCH] fix npm progress pid --- usr/share/install_helper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 6a68f1a..52a94e1 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -202,7 +202,7 @@ pushd $TELEBIT_TMP >/dev/null fi $tmp_npm install & #>/dev/null 2>/dev/null & tmp_npm_pid=$! - while $tmp_npm_pid; do + while [ -n "$tmp_npm_pid" ]; do sleep 2 kill -s 0 $tmp_npm_pid || tmp_npm_pid="" echo -n "."