Skip to content

Commit 1b4a79a

Browse files
angelofallarsShinyzenith
authored andcommitted
refactor: improve wording of comments of perms
1 parent 4b5cfc9 commit 1b4a79a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/daemon.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
125125
let root_resgid = perms::get_resgid();
126126

127127
let load_config = || {
128-
// Dropping privileges to invoking user.
128+
// Drop privileges to the invoking user.
129129
perms::drop_privileges(invoking_uid);
130130

131131
let config_file_path: PathBuf = if args.is_present("config") {
@@ -153,7 +153,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
153153

154154
let mut hotkeys = load_config();
155155

156-
// Escalating back to root after reading config file.
156+
// Escalate back to the root user after reading the config file.
157157
perms::raise_privileges(root_resgid, root_resuid);
158158

159159
log::trace!("Attempting to find all keyboard file descriptors.");

0 commit comments

Comments
 (0)