bug fix
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
MODDIR="${0%/*}"
|
||||
tools_path="${MODDIR%/*}/tools"
|
||||
bin_path="${MODDIR%/*}/tools/bin"
|
||||
script="${0##*/}"
|
||||
[[ ! -d $tools_path ]] && echo "$tools_path目錄遺失" && exit 1
|
||||
[[ ! -d $bin_path ]] && echo "$bin_path目錄遺失" && exit 1
|
||||
[[ ! -f $MODDIR/recover.conf ]] && echo "recover.conf遺失" && exit 1
|
||||
|
||||
Reference in New Issue
Block a user