Skip to content

Commit

Permalink
Merge pull request #21 from djs55/more-mirroring
Browse files Browse the repository at this point in the history
cli: don't exit immediately when the mirror is synchronised
  • Loading branch information
thomassa committed Jun 30, 2015
2 parents 6c53e4b + 41f70b9 commit bd63e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/main.ml
Expand Up @@ -206,7 +206,7 @@ module Impl = struct
begin
let progress_cb = function
| `Complete ->
Printf.fprintf stderr "Mirror synchronised\n%!"; exit 0
Printf.fprintf stderr "Mirror synchronised\n%!"
| `Percent x ->
Printf.fprintf stderr "Mirror %d %% complete\n%!" x in
M.connect ~progress_cb primary secondary
Expand Down

0 comments on commit bd63e5c

Please sign in to comment.