added new test for /var/lib/monkeysphere in m-s diagnostics.
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 5 Sep 2008 03:26:58 +0000 (23:26 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Fri, 5 Sep 2008 03:26:58 +0000 (23:26 -0400)
src/monkeysphere-server

index b609d319fa04f3ca3bb86ac95e96245176116a7b..8139387cca858152a2b9a2da42becbddabb04468 100755 (executable)
@@ -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."