add print test page v6

This commit is contained in:
Mario Fetka
2026-05-22 15:16:45 +02:00
parent 111f3cae77
commit 9b49ae2903

View File

@@ -1670,8 +1670,9 @@ sub test_print_queue( $$ )
$tmpdir = '/tmp' if ! -d $tmpdir || ! -w $tmpdir;
my $tmp = $tmpdir . '/smart-test-print-' . $$ . '-' . int( rand( 1000000 ) ) . '.txt';
my $fh;
if( ! open( my $fh, '>', $tmp ) )
if( ! open( $fh, '>', $tmp ) )
{
my $msg = 'Could not create test print file ' . $tmp . ': ' . $!;
apply_log_line( 'ERROR', 'print queue test failed queue=' . $queue . ' error=' . $msg );