begining work on the chroot option
This commit is contained in:
@@ -157,6 +157,10 @@ isdirempty()
|
||||
{
|
||||
dir=$1
|
||||
|
||||
if [[ -f $dir ]]; then
|
||||
prnt E "isdirempty():The given parameter is not a directory."
|
||||
die 15
|
||||
fi
|
||||
if [[ ! -d $dir ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user