aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--hyprpm/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/hyprpm/src/main.cpp b/hyprpm/src/main.cpp
index 8e67af99..103132f9 100644
--- a/hyprpm/src/main.cpp
+++ b/hyprpm/src/main.cpp
@@ -73,7 +73,7 @@ int main(int argc, char** argv, char** envp) {
if (command.empty()) {
std::println(stderr, "{}", HELP);
- return 0;
+ return 1;
}
g_pPluginManager = std::make_unique<CPluginManager>();
@@ -165,6 +165,7 @@ int main(int argc, char** argv, char** envp) {
break;
default: break;
}
+ return 1;
} else if (notify && !notifyFail) {
g_pPluginManager->notify(ICON_OK, 0, 4000, "[hyprpm] Loaded plugins");
}