X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=www%2Fmanual-override.pl;h=ed474fffafb2f80180168dc8d30ffc1d16a0c6c8;hb=a17a37873dc11a9fb6f030f12f1467904f116295;hp=616e5ea5076174257eab2716cc29c38354d60881;hpb=8733e976299634c8bce83bc8908a99ff669bc2fd;p=remoteglot diff --git a/www/manual-override.pl b/www/manual-override.pl index 616e5ea..ed474ff 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("touch", $remoteglotconf::json_output); +system("sudo", "touch", $remoteglotconf::json_output); print CGI->header(-type=>'text/plain; charset=utf-8'); print "OK\n";