Define fail() and logprint() helpers as early as necessary
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user