Reactivated ncRoot parameter checking
This commit is contained in:
parent
b7a04a9422
commit
3f0b8a0d30
@ -217,10 +217,10 @@ done
|
|||||||
if [ $(id -u) -ne 0 ]; then
|
if [ $(id -u) -ne 0 ]; then
|
||||||
echo -e "${err}This script MUST be run as ROOT. Exiting.${normal}"
|
echo -e "${err}This script MUST be run as ROOT. Exiting.${normal}"
|
||||||
exit 2
|
exit 2
|
||||||
#elif [ -z "$ncRoot" ]; then
|
elif [ -z "$ncRoot" ]; then
|
||||||
# echo -e "\n${err}The NextCloud webroot must be specified (-n parameter)" \
|
echo -e "\n${err}The NextCloud webroot must be specified (-n parameter)" \
|
||||||
# "${normal}\n"
|
"${normal}\n"
|
||||||
# exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user