From 5f204b56c44b153a642d7b56002b78a8f6061f48 Mon Sep 17 00:00:00 2001 From: Kel Byers Date: Fri, 1 Nov 2024 11:27:26 -0500 Subject: [PATCH] call correct function name --- bin/d-attach | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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