summaryrefslogtreecommitdiff
path: root/kiki.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-04-22 17:01:03 -0400
committerjoe <joe@jerkface.net>2014-04-22 17:01:03 -0400
commit1257ddd6813fc75df11631d653a97eb45035188e (patch)
treea60c4c442d4d72eb2f8423e5192ca24a99b5ed76 /kiki.hs
parent2421f2a09a089f6d10b8e35b4cecd7d264a0c117 (diff)
fixed error and action reporting
Diffstat (limited to 'kiki.hs')
-rw-r--r--kiki.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/kiki.hs b/kiki.hs
index cf3b453..9bfbd2d 100644
--- a/kiki.hs
+++ b/kiki.hs
@@ -750,10 +750,10 @@ main = do
750 shargs = mapMaybe (\(x:xs) -> (,xs) <$> Map.lookup x shspec) sargs 750 shargs = mapMaybe (\(x:xs) -> (,xs) <$> Map.lookup x shspec) sargs
751 751
752 forM_ shargs $ \(cmd,args) -> cmd args (rtKeyDB rt) 752 forM_ shargs $ \(cmd,args) -> cmd args (rtKeyDB rt)
753 e -> print (void e)--(fmap (const ()) e) 753 e -> putStrLn $ errorString e
754 754
755 print report 755 forM_ report $ \(fname,act) -> do
756 return() 756 putStrLn $ fname ++ ": " ++ reportString act
757 where 757 where
758 758
759 doAutosign rt kd@(KeyData k ksigs umap submap) = ops 759 doAutosign rt kd@(KeyData k ksigs umap submap) = ops