Skip to content

Commit

Permalink
Merge pull request #142 from wazuh/bug/24-add-parameters-validation-t…
Browse files Browse the repository at this point in the history
…o-buildersh-script

Print `getHelp` output when no parameter is passed to the builder script
  • Loading branch information
c-bordon authored Nov 19, 2024
2 parents dd5ebdb + 181fcb9 commit e95059f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ All notable changes to this project will be documented in this file.

### Fixed

- None
- Print getHelp output when no parameter is passed to the builder script. ([#142](https://github.com/wazuh/wazuh-installation-assistant/pull/142))

### Deleted

Expand Down
4 changes: 4 additions & 0 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ function builder_main() {

umask 066

if [ $# -eq 0 ]; then
getHelp
fi

while [ -n "${1}" ]
do
case "${1}" in
Expand Down

0 comments on commit e95059f

Please sign in to comment.