still update othermeter when not displaying progress at console

See no reason not to do this; the othermeter will be updating a transfer
info file or the like.
This commit is contained in:
Joey Hess 2016-09-08 13:18:07 -04:00
parent e0fae28c72
commit d4c9711844
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -64,7 +64,7 @@ metered othermeter key a = case keySize key of
meter <- liftIO $ newMeter progress "B" 25 (renderNums binaryOpts 1)
return (progress, meter)
nometer = a (const noop)
nometer = a $ combinemeter (const noop)
combinemeter m = case othermeter of
Nothing -> m