Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

tput: No value for $TERM and no -T specified #4

@imdjh

Description

@imdjh

Since we got set -e at line11

9 |  BASE_DIR=$(cd "$(dirname "$0")"; pwd); cd ${BASE_DIR}
10|  SLEEP_SEC=10
11|  set -e
12|  ########## Variable ##########
13|  CURRENT_USER="$(id -un 2>/dev/null || true)"

Running this script under no $TERM global environment variable would cause non-zero exit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions