mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-17 04:51:52 +00:00
Fixed: Check exact filename with pgrep
This commit is contained in:
parent
1c941a69f2
commit
caafb52698
1 changed files with 1 additions and 1 deletions
|
@ -933,7 +933,7 @@ void CPatchManager::createBatchFile(CProductDescriptionForClient &descFile, bool
|
||||||
if (wantRyzomRestart)
|
if (wantRyzomRestart)
|
||||||
{
|
{
|
||||||
// wait until client not in memory anymore
|
// 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)
|
// launch upgrade script if present (it'll execute additional steps like moving or deleting files)
|
||||||
|
|
Loading…
Reference in a new issue