Caused history.log file to be created under $HESTIA/data/users as no user is passed to the script
@@ -28,7 +28,6 @@ check_args '1' "$#" 'RESTART'
#----------------------------------------------------------#
if [ "$restart" = 'yes' ]; then
- log_history "A restart of the server was initiated."
/sbin/reboot
fi