A simple scheme for directly stabilising the repetition-rate difference of two laser frequency combs is reported. For the intended application in dual-comb spectroscopy, the RMS phase error achieved for the locking was 0.1 rad, corresponding to a repetition-rate uncertainty of 0.16 Hz and a timing error of 18 as in a measurement time of 100 ms.