salvaged: Fix "-parallel all<number>" parsing 01/14201/5
authorKailas Zadbuke <kailashsz@in.ibm.com>
Fri, 8 May 2020 03:55:39 +0000 (23:55 -0400)
committerBenjamin Kaduk <kaduk@mit.edu>
Tue, 12 May 2020 15:43:10 +0000 (11:43 -0400)
commit4512d04a9b721cd9052c0e8fe026c93faf6edb9e
treee806f2f4755bac414abe4d5a4f013742ebef652b
parent790824ff749b6ee01c4d7101493cbe8773ef41c6
salvaged: Fix "-parallel all<number>" parsing

In salavageserver -parallel option takes "all<number>" argument.
However the code does not parse the numeric part correctly. Due
to this, only single instance of salvageserver process was running
even if we provide the larger number with "all" argument.

With this fix, numeric part of "all" argument will be parsed
correctly and will start required number of salvageserver instances.

Change-Id: Ib6318b1d57d04fecb84915e2dabe40930ea76499
Reviewed-on: https://gerrit.openafs.org/14201
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
src/vol/salvaged.c