diff --git a/lib/ProductOpener/ConfigEnv.pm b/lib/ProductOpener/ConfigEnv.pm index 71eb5306c2f35..956a42e6a31fd 100644 --- a/lib/ProductOpener/ConfigEnv.pm +++ b/lib/ProductOpener/ConfigEnv.pm @@ -33,6 +33,6 @@ BEGIN { use vars @EXPORT_OK; # no 'my' keyword for these $nutripatrol_url = $ENV{NUTRIPATROL_URL}; -$nutripatrol_url =~ s/\///; # remove trailing slash if there is one +$nutripatrol_url =~ s/\/$//; # remove trailing slash if there is one 1;