mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 13:07:01 +08:00
$DFS_ORPHAN turns logger off
This commit is contained in:
parent
f7ec33fa3d
commit
b216f6d02f
|
@ -4,6 +4,10 @@ set -e
|
|||
THIS_DIR=$( cd "$( dirname "${BASH_SOURCE[0]:-${(%):-%x}}" )" && pwd )
|
||||
source "$THIS_DIR/common.sh"
|
||||
|
||||
if [[ "$DFS_ORPHAN" == "1" ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [[ -x $(command -v hostname) ]]; then
|
||||
hostname=$(hostname)
|
||||
elif [[ -x $(command -v uname) ]]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user