You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-07 23:03:10 +02:00
${@:+$@} -> ${@}
This commit is contained in:
@ -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 ${?}
|
||||
|
Reference in New Issue
Block a user