diff options
Diffstat (limited to 'lib/AdminPanel/Module/Services.pm')
-rw-r--r-- | lib/AdminPanel/Module/Services.pm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/AdminPanel/Module/Services.pm b/lib/AdminPanel/Module/Services.pm index c82df0a..51a8d6b 100644 --- a/lib/AdminPanel/Module/Services.pm +++ b/lib/AdminPanel/Module/Services.pm @@ -235,13 +235,13 @@ sub BUILD { sub start { my $self = shift; -# if ($EUID != 0) { -# $self->sh_gui->warningMsgBox({ -# title => $self->name, -# text => $self->loc->N("root privileges required"), -# }); -# return; -# } + if ($EUID != 0) { + $self->sh_gui->warningMsgBox({ + title => $self->name, + text => $self->loc->N("root privileges required"), + }); + return; + } $self->_servicePanel(); }; |