1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/searx_ynh.git synced 2024-09-03 20:16:30 +02:00

Delete user only if exists.

This commit is contained in:
opi 2016-07-05 12:25:33 +02:00
parent 991873d35b
commit e3de44b71d

View file

@ -19,7 +19,8 @@ sudo killall uwsgi
sudo service uwsgi start
# Remove user
sudo userdel searx
if id -u searx > /dev/null 2>&1; then
sudo userdel searx
fi
# Reload Nginx
sudo service nginx reload