1
0
mirror of synced 2026-02-15 03:36:08 +00:00

Define fail() and logprint() helpers as early as necessary

This commit is contained in:
Axel Beckert
2012-11-27 23:37:09 +01:00
parent 2d79f13714
commit b5499e48b4

View File

@@ -834,6 +834,12 @@ my $IP_ADDRESSES = '';
#
my $PASSWORD = '';
# Minor helpers for reducing code duplication
sub fail ($) { fail_with_config(@_, \%CONFIG); }
sub logprint ($) { logprint_with_config(@_, \%CONFIG); }
#
# Setup default options.
#
@@ -3981,17 +3987,6 @@ sub setupRootPassword
}
}
=begin doc
Minor helpers for reducing code duplication
=end doc
=cut
sub fail ($) { fail_with_config(@_, \%CONFIG); }
sub logprint ($) { logprint_with_config(@_, \%CONFIG); }
=begin doc
create a random "string"