yoda-mon commented on code in PR #1050:
URL: https://github.com/apache/bigtop/pull/1050#discussion_r1018651225


##########
provisioner/docker/docker-hadoop.sh:
##########
@@ -196,7 +196,9 @@ provision() {
         ) &
     done
     wait
-    cat .error_msg_* 2>/dev/null && exit 1
+    if [ -f .error_msg_* ]; then

Review Comment:
   I changed to use `find` to be able to pick up multiple files.
   
   ```sh
   touch .error_msg_1
   touch .error_msg_0
   if [ `find . -maxdepth 1 -type f -name ".error_msg_*" | wc -l` -gt 0 ]; then 
echo "true"; fi
   
   true
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to