X-Git-Url: https://git.rapsys.eu/acme/blobdiff_plain/e52d27fd32caf42240ec361ae4d8b407d13b3e53..d395b0780b72d66dafefde068827f848f4790ecf:/letscron
diff --git a/letscron b/letscron
index b566bae..2a68110 100755
--- a/letscron
+++ b/letscron
@@ -1,5 +1,20 @@
#! /usr/bin/perl
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+#
+# Copyright (C) 2016 - 2017 Raphaël Gertz
+
# Best practice
use strict;
use warnings;
@@ -107,7 +122,7 @@ foreach (@{$config->{certificates}}) {
}
# Run letscert with args
- my @out = capturex([0..1], './letscert', @args);
+ my @out = capturex([0..1], 'letscert', @args);
# Deal with error
if ($EXITVAL != 0) {
@@ -142,4 +157,5 @@ foreach (@{$config->{certificates}}) {
}
}
+# Exit with success
exit EXIT_SUCCESS;