From a414d0c9a2650c2755e9743828d184da6777874d Mon Sep 17 00:00:00 2001
From: Zandor Smith <info@zsinfo.nl>
Date: Fri, 5 Jan 2018 00:26:35 +0100
Subject: [PATCH] Now using end of line const.

---
 updateSensor.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/updateSensor.php b/updateSensor.php
index 51bd5b7..814337e 100644
--- a/updateSensor.php
+++ b/updateSensor.php
@@ -20,14 +20,14 @@ function getTemperature() {
 				fclose($handle);
 				return $celsius;
 			} else {
-				echo "Unable to read temperature!\n";
+				echo "Unable to read temperature!" . PHP_EOL;
 				fclose($handle);
 				return null;
 			}
 		}
 		fclose($handle);
 	}
-	echo "No temperature sensor found!\n";
+	echo "No temperature sensor found!" . PHP_EOL;
 	return null;
 }
 
-- 
GitLab