Добавлена проверка возможности запуска update через dbus

develop 3.6.0.1
parent 9ce037adff
commit af4033f4d8

@ -221,7 +221,7 @@ if __name__ == '__main__':
if os.fork():
sys.exit(1)
if not user_can_run_update():
if not user_can_run_update(True):
sys.stderr.write(_("User can not to perform the system update") + "\n")
sys.exit(1)

@ -243,7 +243,7 @@ class CertClass (qt.QWidget):
return 1
if not os.path.exists(cert_path + server_host_name + '.csr'):
show_msg(_('Request %s not found on the clients side') \
show_msg(_('Request %s not found on the client`s side') \
%(cert_path + server_host_name + '.csr'))
return 1

Loading…
Cancel
Save