Skip to content

Commit

Permalink
pikvm/pikvm#785: mute chown
Browse files Browse the repository at this point in the history
  • Loading branch information
mdevaev committed Jul 25, 2022
1 parent 833b9ef commit cdb39f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kvmd.install
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ post_upgrade() {
chmod 644 "/etc/kvmd/nginx/$target.conf" || true
done

chown kvmd /var/lib/kvmd/msd || true
chown kvmd-pst /var/lib/kvmd/pst || true
chown kvmd /var/lib/kvmd/msd 2>/dev/null || true
chown kvmd-pst /var/lib/kvmd/pst 2>/dev/null || true

if [ ! -e /etc/kvmd/nginx/ssl/server.crt ]; then
echo "==> Generating KVMD-Nginx certificate ..."
Expand Down

0 comments on commit cdb39f7

Please sign in to comment.