mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
setup: fix unbound variable error (#2849)
This commit is contained in:
parent
b60b4015ab
commit
edb3fb1880
2 changed files with 7 additions and 6 deletions
|
@ -110,7 +110,7 @@ function _main
|
|||
( del ) shift 2 ; delmailuser "${@}" ;;
|
||||
( restrict ) shift 2 ; restrict-access "${@}" ;;
|
||||
( list ) listmailuser ;;
|
||||
( * ) _invalid_command "${1}" "${2}" ;;
|
||||
( * ) _invalid_command "${1}" "${2:-}" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
|
@ -119,7 +119,7 @@ function _main
|
|||
( add ) shift 2 ; addalias "${1}" "${2}" ;;
|
||||
( del ) shift 2 ; delalias "${1}" "${2}" ;;
|
||||
( list ) shift 2 ; listalias ;;
|
||||
( * ) _invalid_command "${1}" "${2}" ;;
|
||||
( * ) _invalid_command "${1}" "${2:-}" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
|
@ -127,7 +127,7 @@ function _main
|
|||
case ${2:-} in
|
||||
( set ) shift 2 ; setquota "${@}" ;;
|
||||
( del ) shift 2 ; delquota "${@}" ;;
|
||||
( * ) _invalid_command "${1}" "${2}" ;;
|
||||
( * ) _invalid_command "${1}" "${2:-}" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
|
@ -137,14 +137,14 @@ function _main
|
|||
( update ) shift 2 ; updatedovecotmasteruser "${@}" ;;
|
||||
( del ) shift 2 ; deldovecotmasteruser "${@}" ;;
|
||||
( list ) listdovecotmasteruser ;;
|
||||
( * ) _invalid_command "${1}" "${2}" ;;
|
||||
( * ) _invalid_command "${1}" "${2:-}" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
( config )
|
||||
case ${2:-} in
|
||||
( dkim ) shift 2 ; open-dkim "${@}" ;;
|
||||
( * ) _invalid_command "${1}" "${2}" ;;
|
||||
( * ) _invalid_command "${1}" "${2:-}" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
|
@ -153,7 +153,7 @@ function _main
|
|||
( add-domain ) shift 2 ; addrelayhost "${@}" ;;
|
||||
( add-auth ) shift 2 ; addsaslpassword "${@}" ;;
|
||||
( exclude-domain ) shift 2 ; excluderelaydomain "${@}" ;;
|
||||
( * ) _invalid_command "${1}" "${2}" ;;
|
||||
( * ) _invalid_command "${1}" "${2:-}" ;;
|
||||
esac
|
||||
;;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue