Skip to content

Commit

Permalink
run preflight check also on foreground
Browse files Browse the repository at this point in the history
  • Loading branch information
hannaeko committed Mar 3, 2022
1 parent 2ae412c commit 5650680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/zonemaster_backend_testagent
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Log::Any::Adapter->set( 'Dispatch', dispatcher => $dispatcher );
my $initial_config;

# Make sure the environment is alright before forking (only on startup)
if ( grep /start/, @ARGV ) {
if ( grep /^foreground$|^restart$|^start$/, @ARGV ) {
eval {
$initial_config = preflight_checks();
};
Expand Down

0 comments on commit 5650680

Please sign in to comment.