From 708a7c24ef2c137c04c2473ee6b3f841ed5a1d8b Mon Sep 17 00:00:00 2001 From: Zebra2711 <89755535+Zebra2711@users.noreply.github.com> Date: Tue, 6 May 2025 19:53:28 +0700 Subject: [PATCH] hyprpm: add missing return (#10299) Add a missing return statement after handling the first superuser binary in the `dropSudo` function Fixes: 1c530cb Co-authored-by: Zebra2711 --- hyprpm/src/helpers/Sys.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/hyprpm/src/helpers/Sys.cpp b/hyprpm/src/helpers/Sys.cpp index 70564ab8..868ad9a9 100644 --- a/hyprpm/src/helpers/Sys.cpp +++ b/hyprpm/src/helpers/Sys.cpp @@ -118,5 +118,6 @@ void NSys::dropSudo() { // note the superuser binary that is being dropped std::println("{}", infoString("Don't know how to drop timestamp for '{}', ignoring.", BIN)); } + return; } }