mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-10 09:24:50 +02:00
${@:+$@} -> ${@}
This commit is contained in:
parent
1ab8ea96b2
commit
66cf4f3a54
2 changed files with 6 additions and 6 deletions
|
@ -52,7 +52,7 @@ function __log_success
|
|||
|
||||
function __in_path
|
||||
{
|
||||
command -v "${@:+$@}" &>/dev/null && return 0 ; return 1 ;
|
||||
command -v "${@}" &>/dev/null && return 0 ; return 1 ;
|
||||
}
|
||||
|
||||
function _eclint
|
||||
|
@ -156,4 +156,4 @@ function __main
|
|||
esac
|
||||
}
|
||||
|
||||
__main "${@:+$@}" || exit ${?}
|
||||
__main "${@}" || exit ${?}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue