From 71a634bb03a539ae08296e79328ba1992fb8f628 Mon Sep 17 00:00:00 2001 From: Leigh B Stoller <stoller@flux.utah.edu> Date: Thu, 9 Mar 2023 14:22:41 -0700 Subject: [PATCH] Fix error statement to avoid a panic response. --- account/mksyscert.in | 4 ++-- account/mkusercert.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/account/mksyscert.in b/account/mksyscert.in index a0c9ccc9a6..30a709e528 100755 --- a/account/mksyscert.in +++ b/account/mksyscert.in @@ -1,6 +1,6 @@ #!/usr/bin/perl -w # -# Copyright (c) 2000-2020 University of Utah and the Flux Group. +# Copyright (c) 2000-2023 University of Utah and the Flux Group. # # {{{EMULAB-LICENSE # @@ -372,7 +372,7 @@ if ($debug) { } if ($days > $daystoexpire) { $days = $daystoexpire - 1; - print "Shortening certificate expiration to $days\n"; + print "Shortening certificate expiration to $days days\n"; } system("$OPENSSL ca -batch -policy policy_sslxmlrpc -startdate $startdate ". diff --git a/account/mkusercert.in b/account/mkusercert.in index 8355f243e1..d673081c78 100755 --- a/account/mkusercert.in +++ b/account/mkusercert.in @@ -1,6 +1,6 @@ #!/usr/bin/perl -wT # -# Copyright (c) 2000-2020, 2022 University of Utah and the Flux Group. +# Copyright (c) 2000-2023 University of Utah and the Flux Group. # # {{{EMULAB-LICENSE # @@ -470,7 +470,7 @@ sub CreateNewCert() { } if ($days > $daystoexpire) { $days = $daystoexpire - 1; - print "Shortening certificate expiration to $days\n"; + print "Shortening certificate expiration to $days days\n"; } # -- GitLab