installer: don't clobber synthetic.conf

This commit is contained in:
Daiderd Jordan 2020-05-21 20:03:09 +02:00
parent 2b0a81d92d
commit d3df1889a1
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -122,7 +122,7 @@ main() {
if ! test_synthetic_conf; then
echo "Configuring /etc/synthetic.conf..." >&2
echo nix | sudo tee /etc/synthetic.conf
echo nix | sudo tee -a /etc/synthetic.conf
if ! test_synthetic_conf; then
echo "error: failed to configure synthetic.conf;" >&2
suggest_report_error