From a0afb1db42c78172f581c22ae753845500a6152f Mon Sep 17 00:00:00 2001 From: Nikolay Date: Fri, 6 Sep 2019 17:45:07 +0300 Subject: [PATCH] support for run in alpine linux --- postwhite | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postwhite b/postwhite index fab86bb..942b185 100755 --- a/postwhite +++ b/postwhite @@ -164,7 +164,7 @@ query_black_host() { # Create progress dots function show_dots() { - while ps "$1" >/dev/null; do + while ls /proc/"$1" > /dev/null 2>&1 ; do printf "." sleep 1 done