diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-02-16 19:44:59 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2021-02-17 15:59:50 +0100 |
commit | 82157f598e09790b408a4e519a25d3affba95240 (patch) | |
tree | 77f86dbd0a50bb2e4017a0fe308e9967adf91279 /EnvScreen.c | |
parent | a73064dda97d751047748c4539a969495bdadf73 (diff) |
Refactor to remove no-op calls
This removes the call-sites of the removed setuid feature
Diffstat (limited to 'EnvScreen.c')
-rw-r--r-- | EnvScreen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/EnvScreen.c b/EnvScreen.c index 4d7de7d9..bd8a2b03 100644 --- a/EnvScreen.c +++ b/EnvScreen.c @@ -34,9 +34,7 @@ static void EnvScreen_scan(InfoScreen* this) { Panel_prune(panel); - CRT_dropPrivileges(); char* env = Platform_getProcessEnv(this->process->pid); - CRT_restorePrivileges(); if (env) { for (const char* p = env; *p; p = strrchr(p, 0) + 1) InfoScreen_addLine(this, p); |