From: Thiago Becker <tbecker@xxxxxxxxxx> While matching the commands in cifscreds, continue attempting to match to detect ambiguous commands. Signed-off-by: Thiago Becker <tbecker@xxxxxxxxxx> --- cifscreds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cifscreds.c b/cifscreds.c index 32f2ee4..c52f495 100644 --- a/cifscreds.c +++ b/cifscreds.c @@ -501,7 +501,7 @@ int main(int argc, char **argv) if (cmd->name[n] == 0) { /* exact match */ best = cmd; - break; + continue; } /* partial match */ -- 2.47.1