fix: attempt to pass shellcheck on os x

This commit is contained in:
Jose Diaz-Gonzalez
2017-03-26 04:38:35 -06:00
parent 101414dcd3
commit ed7d5623ad
7 changed files with 11 additions and 9 deletions

View File

@@ -17,7 +17,8 @@ logs_default_cmd() {
shift 2;
local TEMP=$(getopt -o htqn:p: --long help,tail,quiet,num:,ps: -n 'dokku logs' -- "$@")
if [[ $? != 0 ]]; then usage >&2 ; exit 1 ; fi
local EXIT_CODE="$?"
if [[ "$EXIT_CODE" != 0 ]]; then usage >&2 ; exit 1 ; fi
eval set -- "$TEMP"
local DOKKU_LOGS_LINE_NUMBERS="100"