vogievetsky commented on code in PR #13365:
URL: https://github.com/apache/druid/pull/13365#discussion_r1043984602


##########
examples/bin/supervise:
##########
@@ -179,13 +195,23 @@ usage() unless GetOptions(
   'vardir|d=s',
   'kill-timeout|t=i',
   'chdir=s',
-  'svlogd:s'
+  'svlogd:s',
+  'command=s@'
 );
 
-usage() unless $opt{'conf'} && $opt{'vardir'};
+usage() unless ((@{$opt{'command'}} || $opt{'conf'}) && $opt{'vardir'});

Review Comment:
   I don't know enough perl but something in this line is messed up
   
   When I run
   
   ```
   ./bin/start-micro-quickstart 
   Can't use an undefined value as an ARRAY reference at 
/Users/vadim/Projects/apache-druid/distribution/target/apache-druid-26.0.0-SNAPSHOT/bin/supervise
 line 202.
   ```
   



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to