diff options
Diffstat (limited to 'src/pacman.nim')
-rw-r--r-- | src/pacman.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman.nim b/src/pacman.nim index ed80311..5f1cb4a 100644 --- a/src/pacman.nim +++ b/src/pacman.nim @@ -407,8 +407,8 @@ proc obtainPacmanConfig*(args: seq[Argument]): PacmanConfig = {x} let hasKeyserver = forkWaitRedirect(() => (block: - if dropPrivileges(): - execResult(gpgConfCmd, "--list-options", "gpg") + if dropPrivRedirect(): + execRedirect(gpgConfCmd, "--list-options", "gpg") else: quit(1))) .output |