Commit 7a38943e authored by Roman Alifanov's avatar Roman Alifanov

added ban on starting from root

parent 5a75d99f
#!/bin/bash
if [ $(id -u) -eq 0 ]; then
echo "Нельзя запускать epmgpi от пользователя root."
exit 1
fi
# Временные файлы
clean_up_tmp() {
rm -fr "$EPMGPI_TMP"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment