Bug#771498: closed by Martin Pitt <mpitt at debian.org> (Bug#771498: fixed in systemd 217-2)

Alexandre Detiste alexandre.detiste at gmail.com
Mon Dec 1 15:44:22 GMT 2014


control: reopen -1

Sorry, but this change doesn't solve the problem, the "2>&1" must be
moved before '|sed' .
The two lines with systemd-analyze are OK.

I guess it would have been easier if I had provided a patch :-/

tchet at antec:~$ DIR=/tmp
tchet at antec:~$ systemd-delta --no-pager|sed "s%\x1b[^m]*m%%g"
>$DIR/systemd-delta.txt 2>&1
diff failed with error code 1.
diff failed with error code 1.

>> (twice)
>> -    systemd-delta --no-pager|sed "s%\x1b[^m]*m%%g" >$DIR/systemd-delta.txt
>> +    systemd-delta --no-pager 2>&1|sed "s%\x1b[^m]*m%%g" >$DIR/systemd-delta.txt



More information about the Pkg-systemd-maintainers mailing list