summaryrefslogtreecommitdiff
path: root/src/subcommands/mh/diagnostics
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-01-31 18:04:21 -0500
committerJameson Graef Rollins <jrollins@finestructure.net>2009-01-31 18:04:21 -0500
commita0747749cbc7445e0cadaf0fbf1c92a2e86d1369 (patch)
tree01458632e6e699507b6a0889f2557726208c320e /src/subcommands/mh/diagnostics
parent968627c7003d059e63ae455d91e1ada4143c8810 (diff)
turn subcommands into subfunctions, that will need to be sourced and executed.
Diffstat (limited to 'src/subcommands/mh/diagnostics')
-rwxr-xr-xsrc/subcommands/mh/diagnostics7
1 files changed, 6 insertions, 1 deletions
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
+
+}