mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Fix webmin sub-commands are warnings friendly
This commit is contained in:
@@ -2,8 +2,7 @@
|
|||||||
# disable-proxy - Reverse/remove the configuration options set by enable-proxy.
|
# disable-proxy - Reverse/remove the configuration options set by enable-proxy.
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
||||||
use 5.010; # Version in CentOS 6
|
use 5.010; # Version in CentOS 6
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
# disable-twofactor - Disable two-factor authentication for a user.
|
# disable-twofactor - Disable two-factor authentication for a user.
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
||||||
use 5.010; # Version in CentOS 6
|
use 5.010; # Version in CentOS 6
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
# through a proxy.
|
# through a proxy.
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
||||||
use 5.010; # Version in CentOS 6
|
use 5.010; # Version in CentOS 6
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
use 5.014;
|
use 5.014;
|
||||||
|
|
||||||
use File::Spec;
|
use File::Spec;
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
# module.
|
# module.
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
||||||
use 5.010; # Version in CentOS 6
|
use 5.010; # Version in CentOS 6
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
use 5.010;
|
use 5.010;
|
||||||
|
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
use 5.010;
|
use 5.010;
|
||||||
|
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
# restart Webmin to apply the change.
|
# restart Webmin to apply the change.
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
||||||
use 5.010; # Version in CentOS 6
|
use 5.010; # Version in CentOS 6
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
|
|
||||||
use 5.010;
|
use 5.010;
|
||||||
|
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
# functions on the command line.
|
# functions on the command line.
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
no warnings 'redefine';
|
|
||||||
no warnings 'uninitialized';
|
|
||||||
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
BEGIN { $Pod::Usage::Formatter = 'Pod::Text::Color'; }
|
||||||
use 5.010; # Version in CentOS 6
|
use 5.010; # Version in CentOS 6
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user