Avoid double colons in the CONFIG_PATH

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-07-05 15:27:47 -07:00
parent d643f57bc1
commit e7318459f1
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -5374,6 +5374,8 @@ sub ensure_config_path() {
my $chop = ( $path =~ s/^:// );
$path =~ s/:+/:/g;
@config_path = split /:/, $path;
shift @config_path if $chop && ( $export || $> != 0 );