summaryrefslogtreecommitdiff
path: root/fireslay
diff options
context:
space:
mode:
Diffstat (limited to 'fireslay')
-rwxr-xr-xfireslay6
1 files changed, 1 insertions, 5 deletions
diff --git a/fireslay b/fireslay
index ef1e4f4..892dbee 100755
--- a/fireslay
+++ b/fireslay
@@ -83,11 +83,7 @@ web_content_pids()
83 done < $FIREFOX_GROUP_PROCS 83 done < $FIREFOX_GROUP_PROCS
84} 84}
85 85
86uid=$(get_uid) 86FIREFOX_GROUP_PROCS=$(get_firefox_cgroup_procs)
87group=user.slice/user-$uid.slice/firefox
88group_procs=/sys/fs/cgroup/$group/cgroup.procs
89
90FIREFOX_GROUP_PROCS=$group_procs
91if [ -e "$FIREFOX_GROUP_PROCS" ] 87if [ -e "$FIREFOX_GROUP_PROCS" ]
92then 88then
93 main "$@" 89 main "$@"