Comment 2 for bug 1546702

Revision history for this message
Janek Bogucki (janekdb) wrote :

The following does not solve the problem of init-checkconf incorrectly reporting an invalid script as valid when an unknown option is included but it does solve the problem of the script being invalid.

This is invalid,

script
exec $KAFKA_HOME/bin/kafka-server-start.sh $CONFIG_HOME/server.properties
end script

This is valid,

script
  exec $KAFKA_HOME/bin/kafka-server-start.sh $CONFIG_HOME/server.properties
end script

When the whitespacing is incorrect a more useful error message would be useful.