diff options
Diffstat (limited to 'keysafe.hs')
-rw-r--r-- | keysafe.hs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -44,9 +44,9 @@ main = do "Keysafe is running in test mode. This is not secure, and should not be used with real secret keys!" return (mkt testModeTunables, [mkt testModeTunables]) else return (mkt defaultTunables, map (mkt . snd) knownTunings) - storagelocations <- if CmdLine.localstorage cmdline - then pure $ localStorageLocations (CmdLine.localstoragedirectory cmdline) - else allStorageLocations (CmdLine.localstoragedirectory cmdline) + let storagelocations = if CmdLine.localstorage cmdline + then localStorageLocations (CmdLine.localstoragedirectory cmdline) + else networkStorageLocations (CmdLine.localstoragedirectory cmdline) dispatch cmdline ui storagelocations tunables possibletunables dispatch :: CmdLine.CmdLine -> UI -> StorageLocations -> Tunables -> [Tunables] -> IO () |