1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-07 23:03:10 +02:00

${@:+$@} -> ${@}

This commit is contained in:
NorseGaud
2022-03-08 18:30:29 -05:00
parent 1ab8ea96b2
commit 66cf4f3a54
2 changed files with 6 additions and 6 deletions

View File

@ -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 ${?}