diff options
Diffstat (limited to 'Command/SetKey.hs')
-rw-r--r-- | Command/SetKey.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/SetKey.hs b/Command/SetKey.hs index 6f6078e4b..dbad148b2 100644 --- a/Command/SetKey.hs +++ b/Command/SetKey.hs @@ -26,7 +26,7 @@ seek = [withTempFile start] start :: CommandStartString start file = do showStart "setkey" file - return $ Just $ perform file + next $ perform file perform :: FilePath -> CommandPerform perform file = do @@ -40,7 +40,7 @@ perform file = do boolSystem "mv" [File file, File dest] else return True if ok - then return $ Just $ cleanup + then next cleanup else error "mv failed!" cleanup :: CommandCleanup |