From 8baaf3322ca64c625f8c333c4fd33fec6e3b2072 Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sun, 24 Dec 2023 04:15:38 -0700 Subject: [PATCH] Just add 'Gb' to log output relating to free disk space. --- Rocksolid_Light/rslight/scripts/spoolnews.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rocksolid_Light/rslight/scripts/spoolnews.php b/Rocksolid_Light/rslight/scripts/spoolnews.php index d47882e..1e84260 100644 --- a/Rocksolid_Light/rslight/scripts/spoolnews.php +++ b/Rocksolid_Light/rslight/scripts/spoolnews.php @@ -65,7 +65,7 @@ $path = $workpath . "articles/"; if($low_spool_disk_space) { print "Low Disk Space (less than ".$min_spool_disk_space." available)\n"; - file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " Low Disk Space (less than ".$min_spool_disk_space." available for spool). Pausing spoolnews", FILE_APPEND); + file_put_contents($logfile, "\n" . format_log_date() . " " . $config_name . " Low Disk Space (less than ".$min_spool_disk_space."Gb available for spool). Pausing spoolnews", FILE_APPEND); exit(); }