X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=conflink;h=e26be58e0693af8d3ce3ddb9e84bdba8a8e1f636;hp=b24427fe40737ef5cafff1f96895cc94e191873e;hb=1f524e72136f1d10548bdc4f502c6405ba6dbcd0;hpb=f9ccde727d3471c99b909a528aa7168281368084 diff --git a/conflink b/conflink index b24427f..e26be58 100755 --- a/conflink +++ b/conflink @@ -98,7 +98,9 @@ case $USER in if [[ -e $f ]]; then s chmod 640 $f /etc/prometheus-pass s chown root:www-data $f - s chown root:prometheus /etc/prometheus-pass + if getent passwd prometheus; then + s chown root:prometheus /etc/prometheus-pass + fi fi ##### end special extra stuff #####