summaryrefslogtreecommitdiff
path: root/hyprpm/src/helpers/Sys.cpp
diff options
context:
space:
mode:
authorZebra2711 <89755535+Zebra2711@users.noreply.github.com>2025-05-06 19:53:28 +0700
committerGitHub <noreply@github.com>2025-05-06 14:53:28 +0200
commit708a7c24ef2c137c04c2473ee6b3f841ed5a1d8b (patch)
tree48a84b8f9dcdbe832ceb2d261db25958f71a0090 /hyprpm/src/helpers/Sys.cpp
parent1ce614dfc0eb8b323e603b76975842c1f2e6a553 (diff)
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 <zebra2711@users.noreply.github.com>
Diffstat (limited to 'hyprpm/src/helpers/Sys.cpp')
-rw-r--r--hyprpm/src/helpers/Sys.cpp1
1 files changed, 1 insertions, 0 deletions
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;
}
}