From 49fc0b4f9edc9c46d7e8995d63b4ee455de04a26 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 17 Oct 2016 13:29:37 +0200 Subject: [PATCH] Fixed: Check exact filename with pgrep --- code/ryzom/client/src/login_patch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/client/src/login_patch.cpp b/code/ryzom/client/src/login_patch.cpp index 4c665da3d..02aa2fbd1 100644 --- a/code/ryzom/client/src/login_patch.cpp +++ b/code/ryzom/client/src/login_patch.cpp @@ -933,7 +933,7 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool if (wantRyzomRestart) { // wait until client not in memory anymore - contentSuffix += toString("until ! pgrep \"%s\" > /dev/null; do sleep 1; done\n", CFile::getFilename(RyzomFilename).c_str()); + contentSuffix += toString("until ! pgrep -x \"%s\" > /dev/null; do sleep 1; done\n", CFile::getFilename(RyzomFilename).c_str()); } // launch upgrade script if present (it'll execute additional steps like moving or deleting files)