fix dhclient script to always return with zero exit code (#767859)
This commit is contained in:
parent
100a7efb0d
commit
7457494fee
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user