From 14eb89f38d900b7b3fce74edaebcbeb54041cc40 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 15 May 2024 10:10:13 +0200 Subject: [PATCH] Add line break between shell and sqlite error outputs (#60) --- scripts/play.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/play.php b/scripts/play.php index a7dcc68..d5cfdf0 100644 --- a/scripts/play.php +++ b/scripts/play.php @@ -28,7 +28,7 @@ if(isset($_GET['deletefile'])) { if (!exec("sudo rm $file_pointer 2>&1 && sudo rm $file_pointer.png 2>&1", $output)) { echo "OK"; } else { - echo "Error - file deletion failed : " . implode(", ", $output); + echo "Error - file deletion failed : " . implode(", ", $output) . "
"; } $result1 = $statement1->execute(); if ($result1 === false || $db_writable->changes() === 0) {