Hi Michael,

Michael Biebl <bi...@debian.org> writes:
>> Thanks to more information that Marco provided on IRC, I managed to
>> track this problem down and fix it with commit
>> http://anonscm.debian.org/gitweb/?p=pkg-systemd/systemd.git;a=commitdiff;h=712ebba
>> 
>> The fix will be included in the next upload.
>
> Hm, this patch doesn't make sense to me.
>
> The relevant code already has [1]
>
>       if (!args[1])
>                 return 0;
>
> Why would adding that a second time fix anything?
>
> Can you elaborate?
Sure: enable_sysv_units() actually modifies args, i.e. it removes any
arguments that it processed successfully. Therefore, we need to check
after calling enable_sys_units() that there is still something left to
do, otherwise this will result in errors.

-- 
Best regards,
Michael


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to