I think `s/-daemon//` would be better.