summaryrefslogtreecommitdiff
path: root/Command/SendKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/SendKey.hs')
-rw-r--r--Command/SendKey.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Command/SendKey.hs b/Command/SendKey.hs
index 039a3d7ca..24b1821c3 100644
--- a/Command/SendKey.hs
+++ b/Command/SendKey.hs
@@ -46,6 +46,4 @@ fieldTransfer direction key a = do
ok <- maybe (a $ const noop)
(\u -> runTransfer (Transfer direction (toUUID u) key) afile noRetry a)
=<< Fields.getField Fields.remoteUUID
- liftIO $ if ok
- then exitSuccess
- else exitFailure
+ liftIO $ exitBool ok