fix dhclient script to always return with zero exit code (#767859)

This commit is contained in:
Miroslav Lichvar 2012-02-10 17:13:20 +01:00
parent 100a7efb0d
commit 7457494fee

View File

@ -9,7 +9,7 @@ chrony_config() {
for server in $new_ntp_servers; do for server in $new_ntp_servers; do
echo "add server $server $NTPSERVERARGS" echo "add server $server $NTPSERVERARGS"
echo "$server $NTPSERVERARGS" >> $SERVERFILE echo "$server $NTPSERVERARGS" >> $SERVERFILE
done)" &> /dev/null done)" &> /dev/null || :
fi fi
} }