summaryrefslogtreecommitdiffstats
path: root/QuickActions/QuickActionsPrefs/QASRootListController.m
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2023-04-13 07:51:37 -0700
committerCameron Katri <me@cameronkatri.com>2023-04-13 07:51:37 -0700
commitbcdacecd7b7fca9b5f515d25f11ffa1a2936cbb9 (patch)
tree6c6cee80fa7cadeaefbcfe53881617d6b5730c34 /QuickActions/QuickActionsPrefs/QASRootListController.m
parent0119101e96062a9844068e8ee68965621dd0e008 (diff)
downloadtweaks-bcdacecd7b7fca9b5f515d25f11ffa1a2936cbb9.tar.gz
tweaks-bcdacecd7b7fca9b5f515d25f11ffa1a2936cbb9.tar.zst
tweaks-bcdacecd7b7fca9b5f515d25f11ffa1a2936cbb9.zip
Switch back to theos
Diffstat (limited to 'QuickActions/QuickActionsPrefs/QASRootListController.m')
-rw-r--r--QuickActions/QuickActionsPrefs/QASRootListController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/QuickActions/QuickActionsPrefs/QASRootListController.m b/QuickActions/QuickActionsPrefs/QASRootListController.m
index 31a4eb7..c3701eb 100644
--- a/QuickActions/QuickActionsPrefs/QASRootListController.m
+++ b/QuickActions/QuickActionsPrefs/QASRootListController.m
@@ -18,6 +18,7 @@
#import <Preferences/PSSpecifier.h>
#import "QASRootListController.h"
#include <spawn.h>
+#include <rootless.h>
@implementation QASRootListController
@@ -39,7 +40,7 @@
{
pid_t pid;
const char *args[] = {"sbreload", NULL, NULL, NULL};
- posix_spawn(&pid, "usr/bin/sbreload", NULL, NULL, (char *const *)args, NULL);
+ posix_spawn(&pid, ROOT_PATH("/usr/bin/sbreload"), NULL, NULL, (char *const *)args, NULL);
}
@end