iwasakims commented on code in PR #1050:
URL: https://github.com/apache/bigtop/pull/1050#discussion_r1017860633


##########
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:
   `test -f` takes only one argument. If there are multiple files matching 
`.error_msg_*`, this results in syntax error?
   
   ```
   $ touch foo.1 foo.2
   $ if [ -f foo.* ] ; then echo foo ; fi
   -bash: [: foo.1: binary operator expected
   ```



-- 
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