cloud-infra: Reduce the noise in the log
Change-Id: If213c93daf840c535a4020a70356367227c069f7
diff --git a/jjb/cloud-infra/wait-for-pkg-manager.sh b/jjb/cloud-infra/wait-for-pkg-manager.sh
index 70c0c0d..99f7544 100644
--- a/jjb/cloud-infra/wait-for-pkg-manager.sh
+++ b/jjb/cloud-infra/wait-for-pkg-manager.sh
@@ -34,17 +34,15 @@
# just wait few seconds before attempting to check pkg manager process
sleep 10
-echo "Checking for running package manager instance..."
+echo "Info: Waiting for completion of an existing $pkg_mgr_cmd process before proceeding..."
while true; do
pkg_mgr_process=$(pgrep -f $pkg_mgr_cmd | cat)
if [[ -n $pkg_mgr_process ]]; then
- echo "Waiting for $pkg_mgr_cmd processes to finish..."
- echo "$pkg_mgr_process"
sleep 10
else
- echo "$pkg_mgr_cmd process done. Continuing..."
break
fi
done
+echo "Info: $pkg_mgr_cmd process done. Continuing..."
# vim: set ts=2 sw=2 expandtab: