don't try to log when logfile doesn't exist
This commit is contained in:
@@ -61,8 +61,7 @@ fi
|
|||||||
|
|
||||||
# create logpath if doesn't exist
|
# create logpath if doesn't exist
|
||||||
if [[ ! -d $LOGPATH ]]; then
|
if [[ ! -d $LOGPATH ]]; then
|
||||||
cmdlog "mkdir -p $LOGPATH"
|
mkdir -p $LOGPATH
|
||||||
mkdir -p $LOGPATH >> $LOGFILE 2>&1
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
function CheckUser {
|
function CheckUser {
|
||||||
|
Reference in New Issue
Block a user