]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
services.cgi: avoid experimental warnings
authorJon Murphy <jon.murphy@ipfire.org>
Mon, 16 Jan 2023 20:34:04 +0000 (14:34 -0600)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 9 Feb 2023 16:39:34 +0000 (16:39 +0000)
- add single line to code: no warnings 'experimental';
- corrects this issue:
    https://lists.ipfire.org/pipermail/development/2022-December/015113.html

Signed-off-by: Jon Murphy <jon.murphy@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/services.cgi

index 3c0f27f99ff72f9f96132787017f218ea79fbd1a..0d06ab5fecba97e9d00128e9d5da37ae7e3d5882 100644 (file)
@@ -21,6 +21,7 @@
 
 use strict;
 use feature "switch";
+no warnings 'experimental';
 # enable only the following on debugging purpose
 #use warnings;
 #use CGI::Carp 'fatalsToBrowser';