Commit ba204c6d authored by Marco Mariani's avatar Marco Mariani

zmcheckexpiredcerts: removed sudo call

parent dbb43e86
......@@ -35,7 +35,7 @@ unless ( GetOptions("verbose" => \$verbose,
usage() if $help;
my $report = [];
my $cmd = "sudo /opt/zimbra/bin/zmcertmgr checkcrtexpiration -days $days";
my $cmd = "/opt/zimbra/bin/zmcertmgr checkcrtexpiration -days $days";
unless (open(CERTMGR, "$cmd|")) {
logError("Unabled to execute zmcertmgr: $!");
exit -1;
......
Markdown is supported
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