script failed but no error message

Thomas Lange lange at informatik.Uni-Koeln.DE
Thu Sep 28 12:09:30 CEST 2006


>>>>> On Thu, 28 Sep 2006 10:11:46 +0200, Holger Levsen <debian at layer-acht.org> said:

    >> + chroot /tmp/target hwclock --utc --systohc
    >> error=1
    >> 
    > Maybe introducing another class, REALHW, would be better than not executing 
    > tihs when XENU or VSERVER is defined.
To make it more generic and without the need of another new class I
would do this

    chroot /tmp/target hwclock --utc --systohc || true

It will always succeed and return no error code.
-- 
regards Thomas



More information about the linux-fai mailing list