diff options
| author | Gitea <gitea@fake.local> | 2020-01-16 06:17:41 +0000 |
|---|---|---|
| committer | Gitea <gitea@fake.local> | 2020-01-16 06:17:41 +0000 |
| commit | 88b079a22b99332cf1d5f11cf091e88bda74f763 (patch) | |
| tree | 535b06e19978a94f34d549e7b688c12d993f2023 | |
| parent | 13d17c4b0bd351d4013a15b625b79f4c46e1e965 (diff) | |
improves portability of the script
| -rwxr-xr-x | minimun | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -5,6 +5,8 @@ use warnings; use IPC::Run qw(run); use Time::HiRes qw( time ); +chdir('/home/minimun/minimun'); + my ($buffer, @pairs, $pair, $name, $val, %FORM); if ($ENV{'REQUEST_METHOD'} eq "GET") { @@ -36,7 +38,6 @@ else{ die; } - $in .= "\\bye\n"; my $timestamp = time; |
