summaryrefslogtreecommitdiff
path: root/ymir
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:25:35 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-06-02 02:25:35 +0200
commit53e1a9e8343de1b7bbedff1568a6f4a306875bd8 (patch)
treef84cb7583a571f4fc0a38c046fe5ff51642292ef /ymir
parent0fde21ef0e3da863f58bc8be34285e1c05a0d781 (diff)
downloadnixos-53e1a9e8343de1b7bbedff1568a6f4a306875bd8.tar
nixos-53e1a9e8343de1b7bbedff1568a6f4a306875bd8.tar.gz
nixos-53e1a9e8343de1b7bbedff1568a6f4a306875bd8.tar.bz2
nixos-53e1a9e8343de1b7bbedff1568a6f4a306875bd8.tar.xz
nixos-53e1a9e8343de1b7bbedff1568a6f4a306875bd8.zip
typo
Diffstat (limited to 'ymir')
-rw-r--r--ymir/mlmmj-expose.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ymir/mlmmj-expose.nix b/ymir/mlmmj-expose.nix
index 6dc808e3..6673c06c 100644
--- a/ymir/mlmmj-expose.nix
+++ b/ymir/mlmmj-expose.nix
@@ -56,7 +56,7 @@ let
56 identities <- (read <$> readFile "exposed.ids") `catchIOError` (\e -> if isDoesNotExistError e then return [] else ioError e) 56 identities <- (read <$> readFile "exposed.ids") `catchIOError` (\e -> if isDoesNotExistError e then return [] else ioError e)
57 case ident `elem` identities of 57 case ident `elem` identities of
58 True -> putStrLn "Identity is already known" 58 True -> putStrLn "Identity is already known"
59 False -> writeFile "exosed.ids" . show $ ident : identities 59 False -> writeFile "exposed.ids" . show $ ident : identities
60 _ -> hPutStrLn stderr ("Called without expected arguments (<listDirectory> <senderIdentity>)") >> exitWith (ExitFailure 2) 60 _ -> hPutStrLn stderr ("Called without expected arguments (<listDirectory> <senderIdentity>)") >> exitWith (ExitFailure 2)
61 "mlmmj-get-exposed" -> do 61 "mlmmj-get-exposed" -> do
62 args <- getArgs 62 args <- getArgs