shared: Followups for #37575

This commit is contained in:
Daan De Meyer
2025-05-25 03:28:50 +09:00
committed by Yu Watanabe
parent f989d2853f
commit dbef7bcf29
11 changed files with 15 additions and 21 deletions
+1
View File
@@ -15,6 +15,7 @@ static inline const char* notify_start(const char *start, const char *stop) {
return stop;
}
/* This is intended to be used with _cleanup_ attribute. */
static inline void notify_on_cleanup(const char **p) {
if (*p)
(void) sd_notify(false, *p);