fix: attempt to pass shellcheck on os x

This commit is contained in:
Jose Diaz-Gonzalez committed 2017-03-26 04:38:35 -06:00
1 parent 101414dcd3
commit ed7d5623ad
7 files changed
+11 -9

No files matched your search

+2 -1
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"