Browse Source

Added missing end statements on unix-storage.lua. Still getting an lfs module error on CLI.

Nathan Schneider 2 years ago
parent
commit
1f88981112
1 changed files with 3 additions and 1 deletions
  1. 3 1
      modpol_core/storage/unix-storage.lua

+ 3 - 1
modpol_core/storage/unix-storage.lua

@@ -44,6 +44,7 @@ local store_ledger = function(verbose)
     for _ in pairs(modpol.ledger) do count = count + 1 end
 
     if verbose then modpol.ocutil.log(count .. " ledger entries stored to disk")
+    end
 end
 
 local store_orgs = function(verbose)
@@ -54,6 +55,7 @@ local store_orgs = function(verbose)
     for _ in pairs(modpol.orgs.array) do count = count + 1 end
 
     if verbose then modpol.ocutil.log(count .. " orgs stored to disk")
+    end
 end
 
 modpol.store_data = function(verbose)
@@ -104,4 +106,4 @@ end
 modpol.load_storage = function()
     load_ledger()
     load_orgs()
-end
+end