Commit 2c69e9b9 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Tidy code (#2562)

parent 35ae3b9e
Pipeline #14782 passed with stage
in 13 minutes and 41 seconds
......@@ -7,11 +7,10 @@ use Getopt::Long;
our $opt_user = '__APACHEUSER__';
our $opt_group = '__APACHEGROUP__';
GetOptions (
GetOptions(
"user=s" => \$opt_user,
"group=s" => \$opt_group
)
or die("Error in command line arguments\n");
) or die("Error in command line arguments\n");
my $action;
......
......@@ -18,11 +18,10 @@ my $cli = Lemonldap::NG::Manager::Cli::Lib->new;
our $opt_user = '__APACHEUSER__';
our $opt_group = '__APACHEGROUP__';
GetOptions (
GetOptions(
"user=s" => \$opt_user,
"group=s" => \$opt_group
)
or die("Error in command line arguments\n");
) or die("Error in command line arguments\n");
eval {
setgid( ( getgrnam($opt_group) )[2] );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment