summaryrefslogtreecommitdiff
path: root/src/monkeysphere-server
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-04 23:26:58 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-04 23:26:58 -0400
commitd076f454cf6c576681749ae7f31dec1bc2b52833 (patch)
treef8c121a006fd2df8b8412f65f8cb4f6c17c54987 /src/monkeysphere-server
parent75e989ccee39ce99a44898cec16229f74f515efe (diff)
added new test for /var/lib/monkeysphere in m-s diagnostics.
Diffstat (limited to 'src/monkeysphere-server')
-rwxr-xr-xsrc/monkeysphere-server4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server
index b609d31..8139387 100755
--- a/src/monkeysphere-server
+++ b/src/monkeysphere-server
@@ -572,6 +572,10 @@ diagnostics() {
echo "! No monkeysphere user found! Please create a monkeysphere system user."
fi
+ if ! [ -d "$VARLIB" ] ; then
+ echo "! no $VARLIB directory found. Please create it."
+ fi
+
echo "Checking host GPG key..."
if (( "$keysfound" < 1 )); then
echo "! No host key found."