From a0747749cbc7445e0cadaf0fbf1c92a2e86d1369 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Sat, 31 Jan 2009 18:04:21 -0500 Subject: turn subcommands into subfunctions, that will need to be sourced and executed. --- src/subcommands/mh/diagnostics | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/subcommands/mh/diagnostics') diff --git a/src/subcommands/mh/diagnostics b/src/subcommands/mh/diagnostics index f411e06..5b04b14 100755 --- a/src/subcommands/mh/diagnostics +++ b/src/subcommands/mh/diagnostics @@ -10,7 +10,10 @@ # They are Copyright 2008, and are all released under the GPL, version 3 # or later. -# * check on the status and validity of the key and public certificates +# check on the status and validity of the key and public certificates + +diagnostics() { + local seckey local keysfound local curdate @@ -177,3 +180,5 @@ if [ "$problemsfound" -gt 0 ]; then else echo "Everything seems to be in order!" fi + +} -- cgit v1.2.3