فهرست منبع

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 سال پیش
والد
کامیت
bec2895a1f
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