Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 701877b

Browse filesBrowse files
committed
fix service domain prefix launchd
1 parent 1849b44 commit 701877b
Copy full SHA for 701877b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎src/plugins/servicebackends/launchd/launchdservicecontrol.cpp

Copy file name to clipboardExpand all lines: src/plugins/servicebackends/launchd/launchdservicecontrol.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ bool LaunchdServiceControl::serviceExists() const
3333

3434
bool LaunchdServiceControl::isEnabled() const
3535
{
36-
const auto target = QStringLiteral("/user/%1/")
36+
const auto target = QStringLiteral("user/%1/")
3737
.arg(::getuid());
3838
QByteArray outData;
3939
if (runLaunchctl("print-disabled", {target}, false, &outData) == EXIT_SUCCESS) {
@@ -71,7 +71,7 @@ bool LaunchdServiceControl::setEnabled(bool enabled)
7171
if(enabled == isEnabled())
7272
return true;
7373

74-
const auto target = QStringLiteral("/user/%1/%2")
74+
const auto target = QStringLiteral("user/%1/%2")
7575
.arg(::getuid())
7676
.arg(serviceId());
7777
return runLaunchctl(enabled ? "enable" : "disable", {target}, false) == EXIT_SUCCESS;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.