diff -r 3a357d180879 -r 75024fba2fb1 core/builtins/kill.cpp --- a/core/builtins/kill.cpp Sun Jul 18 22:40:48 2010 +0100 +++ b/core/builtins/kill.cpp Wed Jul 28 16:41:19 2010 +0100 @@ -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); + } } }