"MàJ expl_deploy_socle.sh"

This commit is contained in:
Doug Le Tough 2017-07-22 06:39:11 +02:00
parent 90bf430e7e
commit a61b29fc86
1 changed files with 2 additions and 2 deletions

View File

@ -49,8 +49,8 @@
# Initialisation de l'environement
#-----------------------------------------------------------------------
if [ ! $(id -u) -eq 0 ]; then
ERROR="Seul l'utilisateur root peut utiliser ce script"
if [ "${USER" != "asr" ]; then
ERROR="Seul l'utilisateur asr peut utiliser ce script"
echo -e "\033[91m${ERROR}\033[0m"
exit 1
fi