浏览代码

Remove log history line from v-restart-system

Caused history.log file to be created under $HESTIA/data/users as no user is passed to the script
Kristan Kenney 6 年之前
父节点
当前提交
5c536eef96
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      bin/v-restart-system

+ 0 - 1
bin/v-restart-system

@@ -28,7 +28,6 @@ check_args '1' "$#" 'RESTART'
 #----------------------------------------------------------#
 
 if [  "$restart" = 'yes' ]; then
-    log_history "A restart of the server was initiated."
     /sbin/reboot
 fi