svc: fix a case where with more than option, getopt() state is not reset
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Aug 2017 23:38:55 +0000 (01:38 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Aug 2017 23:40:12 +0000 (01:40 +0200)
commit0b16a67959244125ca495f5b7f389d14183c468e
tree61156701f22490e0bf427c05ceea4291fde6ec91
parent4989d05174efd267d2fd85dc2e7f7beaafb8ab37
svc: fix a case where with more than option, getopt() state is not reset

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
runit/sv.c