summaryrefslogtreecommitdiff
path: root/src/notify
diff options
context:
space:
mode:
Diffstat (limited to 'src/notify')
-rw-r--r--src/notify/notify.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notify/notify.c b/src/notify/notify.c
index 1e9766f862..a688a9f879 100644
--- a/src/notify/notify.c
+++ b/src/notify/notify.c
@@ -157,7 +157,8 @@ int main(int argc, char* argv[]) {
log_parse_environment();
log_open();
- if ((r = parse_argv(argc, argv)) <= 0) {
+ r = parse_argv(argc, argv);
+ if (r <= 0) {
retval = r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
goto finish;
}