Get rid of a warning about dbus in the activation script

+1 -1
+1 -1
nixos/modules/config/networking.nix
··· 140 140 '' + optionalString config.services.nscd.enable '' 141 141 # Invalidate the nscd cache whenever resolv.conf is 142 142 # regenerated. 143 - libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service' 143 + libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null' 144 144 '' + optionalString cfg.dnsSingleRequest '' 145 145 # only send one DNS request at a time 146 146 resolv_conf_options='single-request'