Fix scripts to require 3 parameters for install action

This commit is contained in:
2025-09-26 06:59:04 +02:00
parent 49bb7884b7
commit e507a454da
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ Main() {
case "$action" in
install)
if [[ $# -ne 3 ]]; then
LogError "Install command requires 2 parameters: user, password"
if [[ $# -ne 4 ]]; then
LogError "Install command requires 3 parameters: user, password, host"
ShowUsage
exit 1
fi
+2 -2
View File
@@ -245,8 +245,8 @@ Main() {
case "$action" in
install)
if [[ $# -ne 3 ]]; then
LogError "Install command requires 2 parameters: user, password"
if [[ $# -ne 4 ]]; then
LogError "Install command requires 3 parameters: user, password, host"
ShowUsage
exit 1
fi
+2 -2
View File
@@ -220,8 +220,8 @@ Main() {
case "$action" in
install)
if [[ $# -ne 3 ]]; then
LogError "Install command requires 2 parameters: user, password"
if [[ $# -ne 4 ]]; then
LogError "Install command requires 3 parameters: user, password, host"
ShowUsage
exit 1
fi