From a8232b6fe329655d8744bdc6873cd7ca8cb66d21 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 26 Dec 2023 16:37:35 +0100 Subject: [PATCH] Touch the right file on manual override. --- www/manual-override.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/manual-override.pl b/www/manual-override.pl index ed474ff..1333352 100755 --- a/www/manual-override.pl +++ b/www/manual-override.pl @@ -27,7 +27,7 @@ $dbh->do('INSERT INTO game_extensions ( fen, history, player_w, player_b, ts, ne Encode::decode_utf8($cgi->param('player_w')), Encode::decode_utf8($cgi->param('player_b')), Encode::decode_utf8($cgi->param('move'))); -system("sudo", "touch", $remoteglotconf::json_output); +system("sudo", "touch", $remoteglotconf::target); print CGI->header(-type=>'text/plain; charset=utf-8'); print "OK\n"; -- 2.39.2