diff -r 6bb86f60191e -r 18a55d594fba core/builtins/kill.cpp --- a/core/builtins/kill.cpp Thu Jul 29 12:03:43 2010 +1000 +++ b/core/builtins/kill.cpp Thu Jul 29 12:05:54 2010 +1000 @@ -123,13 +123,16 @@ PrintWarning(_L("Couldn't open %S (err=%d)"), &fullName); } } - if (numFound == 0) + if (!iAll) { - LeaveIfErr(KErrNotFound, _L("No matches for pattern \"%S\", or all matches are zombies"), &aPattern); - } - else if (numFound > 1 && !iAll) - { - PrintWarning(_L("%d further matches for pattern \"%S\" found, be more specific or use --all option"), numFound-1, &aPattern); + if (numFound == 0) + { + LeaveIfErr(KErrNotFound, _L("No matches for pattern \"%S\", or all matches are zombies"), &aPattern); + } + else if (numFound > 1) + { + PrintWarning(_L("%d further matches for pattern \"%S\" found, be more specific or use --all option"), numFound-1, &aPattern); + } } }