Просмотр исходного кода

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 лет назад
Родитель
Сommit
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