diff --git a/bin/d-attach b/bin/d-attach index b633ecc..f166954 100755 --- a/bin/d-attach +++ b/bin/d-attach @@ -16,8 +16,8 @@ function debug() { } function fail() { - printf '%s\n' "$1" >&2 ## Send message to stderr. Exclude >&2 if you don't want it that way. - exit "${2-1}" ## Return a code specified by $2 or 1 by default. + printf '%s\n' "$1" >&2 ## Send message to stderr. Exclude >&2 if you don't want it that way. + exit "${2-1}" ## Return a code specified by $2 or 1 by default. } function has() { @@ -33,7 +33,7 @@ function da() { } if has docker; then - dattach "$@" + da "$@" else "Cannot find docker in $PATH" -fi \ No newline at end of file +fi