Bug 453693 - updater.exe sometimes creates the lock file in the wrong directory. r=ted.mielczarek

This commit is contained in:
Robert Strong 2008-09-04 13:40:28 -07:00
Родитель 06188d3762
Коммит 1d19c9f09a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1222,7 +1222,7 @@ int NS_main(int argc, NS_tchar **argv)
if (argc > 4) { if (argc > 4) {
NS_tchar updateLockFilePath[MAXPATHLEN]; NS_tchar updateLockFilePath[MAXPATHLEN];
NS_tsnprintf(updateLockFilePath, MAXPATHLEN, NS_tsnprintf(updateLockFilePath, MAXPATHLEN,
NS_T("%s/update_in_progress.lock"), argv[3]); NS_T("%s.update_in_progress.lock"), argv[4]);
// The update_in_progress.lock file should only exist during an update. In // The update_in_progress.lock file should only exist during an update. In
// case it exists attempt to remove it and exit if that fails to prevent // case it exists attempt to remove it and exit if that fails to prevent