Compare commits

..

No commits in common. "a3be661e9902d99186efbb15ee6fca5e9b6608ff" and "a89fa44572edbe83f4a6356adc5b9b39857628ed" have entirely different histories.

View File

@ -10,8 +10,8 @@ use OpenBSD::Unveil;
pledge( qw(unveil rpath dns inet) ) || die "Unable to pledge: $!";
unveil( "/var/www/perl5", "r" ) || die "Unable to unveil: $!";
unveil( $jobs_dir, "r" ) || die "Unable to unveil: $!";
unveil() || die "Unable to lock unveil: $!";
use local::lib '/var/www/perl5';
use Net::Printer;
@ -31,6 +31,7 @@ my $lp = new Net::Printer();
my $q = URI::Query->new( $ENV{'QUERY_STRING'} );
my %hash = $q->hash;
#print Dumper( \%hash );
if($hash{'file'}) {
my $file = "$jobs_dir/$hash{'file'}";