shared: Followups for #37575
This commit is contained in:
committed by
Yu Watanabe
parent
f989d2853f
commit
dbef7bcf29
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user