diff options
author | joe <joe@jerkface.net> | 2014-04-22 17:01:03 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2014-04-22 17:01:03 -0400 |
commit | 1257ddd6813fc75df11631d653a97eb45035188e (patch) | |
tree | a60c4c442d4d72eb2f8423e5192ca24a99b5ed76 /kiki.hs | |
parent | 2421f2a09a089f6d10b8e35b4cecd7d264a0c117 (diff) |
fixed error and action reporting
Diffstat (limited to 'kiki.hs')
-rw-r--r-- | kiki.hs | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |