~adigitoleo/geobits

2eb4c5a594ea47877402aa98e8d964e2007e5c07 — adigitoleo 8 months ago 399a1ac
fix: Clean up error messages
2 files changed, 2 insertions(+), 2 deletions(-)

M tools/q,del.sh
M tools/q,stat.sh
M tools/q,del.sh => tools/q,del.sh +1 -1
@@ 5,7 5,7 @@ is_command() {
    if 1>/dev/null 2>&1 command -v "$1"; then
        return 0
    else
        >&2 printf '%s\n' "$HOME/.zprofile: command '$1' not found"; return 1
        >&2 printf '%s\n' "command '$1' not found"; return 1
    fi
}
warn() { >&2 printf '%s\n' "$SCRIPTNAME: $1"; }

M tools/q,stat.sh => tools/q,stat.sh +1 -1
@@ 5,7 5,7 @@ is_command() {
    if 1>/dev/null 2>&1 command -v "$1"; then
        return 0
    else
        >&2 printf '%s\n' "$HOME/.zprofile: command '$1' not found"; return 1
        >&2 printf '%s\n' "command '$1' not found"; return 1
    fi
}
warn() { >&2 printf '%s\n' "$SCRIPTNAME: $1"; }