Skip to content

Commit

Permalink
Commands run via remote API shouldn't think they are CGIs #799
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed May 2, 2024
1 parent d6c76f3 commit 6d04771
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions json-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ sub execute_webmin_script
# Make this process have its own list of temp files to clean up
$main::initial_process_id = undef;
@main::temporary_files = undef;
$main::webmin_script_type = 'cmd';

untie(*STDOUT);
close(STDOUT);
Expand Down

0 comments on commit 6d04771

Please sign in to comment.