[update] Use error code 100 for update errors

This error code was previously used for
"Exiting to finish update", but is no longer used

Closes #5198
pull/5483/head
pukkandan 2022-11-07 02:37:23 +05:30
rodzic 46d09f8707
commit ff48fc04d0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7EEE9E1E817D0A39
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -174,6 +174,7 @@ class Updater:
def _report_error(self, msg, expected=False):
self.ydl.report_error(msg, tb=False if expected else None)
self.ydl._download_retcode = 100
def _report_permission_error(self, file):
self._report_error(f'Unable to write to {file}; Try running as administrator', True)