projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
turn subcommands into subfunctions, that will need to be sourced and executed.
[monkeysphere.git]
/
src
/
subcommands
/
mh
/
diagnostics
diff --git
a/src/subcommands/mh/diagnostics
b/src/subcommands/mh/diagnostics
index f411e06bef57beef29957ecc5c3a6dda0f580091..5b04b14d2d7f63de216b73a04316243b89fa0c7e 100755
(executable)
--- 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.
# 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
local seckey
local keysfound
local curdate
@@
-177,3
+180,5
@@
if [ "$problemsfound" -gt 0 ]; then
else
echo "Everything seems to be in order!"
fi
else
echo "Everything seems to be in order!"
fi
+
+}