diff --git a/Shorewall/Perl/Shorewall/Config.pm b/Shorewall/Perl/Shorewall/Config.pm index d79be3d0b..276b60613 100644 --- a/Shorewall/Perl/Shorewall/Config.pm +++ b/Shorewall/Perl/Shorewall/Config.pm @@ -5402,7 +5402,11 @@ sub get_configuration( $$$$$ ) { default 'PATH' , $default_path; - $ENV{PATH} .= ":$default_path"; + if ( supplied( $ENV{PATH} ) ) { + $ENV{PATH} .= ":$default_path"; + } else { + $ENV{PATH} = $default_path; + } get_params( $export );