summaryrefslogtreecommitdiff
path: root/Command/LockContent.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/LockContent.hs')
-rw-r--r--Command/LockContent.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/LockContent.hs b/Command/LockContent.hs
index e37d4cca5..72b2bb096 100644
--- a/Command/LockContent.hs
+++ b/Command/LockContent.hs
@@ -11,6 +11,7 @@ import Common.Annex
import Command
import Annex.Content
import Types.Key
+import Remote.Helper.Ssh (contentLockedMarker)
cmd :: Command
cmd = noCommit $
@@ -36,7 +37,7 @@ start [ks] = do
k = fromMaybe (error "bad key") (file2key ks)
locksuccess = ifM (inAnnex k)
( liftIO $ do
- putStrLn "OK"
+ putStrLn contentLockedMarker
hFlush stdout
_ <- getLine
return True