scope: do not compare a bool return with "<= 0"

This commit is contained in:
Thomas Hindoe Paaboel Andersen 2015-09-02 19:58:12 +02:00
parent c069f47779
commit 09d2f5b1c9

View file

@ -138,7 +138,7 @@ static int scope_verify(Scope *s) {
return 0;
if (set_isempty(UNIT(s)->pids) &&
!manager_is_reloading_or_reexecuting(UNIT(s)->manager) <= 0 &&
!manager_is_reloading_or_reexecuting(UNIT(s)->manager) &&
!unit_has_name(UNIT(s), SPECIAL_INIT_SCOPE)) {
log_unit_error(UNIT(s), "Scope has no PIDs. Refusing.");
return -EINVAL;