4
0
mirror of https://github.com/QuasarApp/Patronum.git synced 2025-05-08 13:09:33 +00:00

fix closed file

This commit is contained in:
Andrei Yankovich 2021-10-26 11:10:23 +03:00
parent 0194169f6d
commit 09767cf3c1

@ -67,6 +67,8 @@ bool InstallerSystemD::install(const QString &executable, const QString& user) {
templ.write(service.toLatin1());
templ.close();
QProcess proc;
proc.setProgram("systemctl");
proc.setProcessEnvironment(QProcessEnvironment::systemEnvironment());