$DFS_ORPHAN turns logger off

This commit is contained in:
xiongdian.me 2023-01-31 13:13:03 +08:00
parent f7ec33fa3d
commit b216f6d02f

View File

@ -4,6 +4,10 @@ set -e
THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd ) THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
source "$THIS_DIR/common.sh" source "$THIS_DIR/common.sh"
if [[ "$DFS_ORPHAN" == "1" ]]; then
exit 0
fi
if [[ -x $(command -v hostname) ]]; then if [[ -x $(command -v hostname) ]]; then
hostname=$(hostname) hostname=$(hostname)
elif [[ -x $(command -v uname) ]]; then elif [[ -x $(command -v uname) ]]; then