diff options
Diffstat (limited to 'src/libudev/exit-status.c')
-rw-r--r-- | src/libudev/exit-status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libudev/exit-status.c b/src/libudev/exit-status.c index 1db11d3407..79bb8ca981 100644 --- a/src/libudev/exit-status.c +++ b/src/libudev/exit-status.c @@ -31,7 +31,7 @@ bool is_clean_exit(int code, int status, ExitStatusSet *success_status) { if (code == CLD_EXITED) return status == 0 || (success_status && - set_contains(success_status->code, INT_TO_PTR(status))); + set_contains(success_status->status, INT_TO_PTR(status))); /* If a daemon does not implement handlers for some of the * signals that's not considered an unclean shutdown */ |