diff options
author | Maxim Devaev <[email protected]> | 2022-07-25 11:22:28 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-07-25 11:22:28 +0300 |
commit | cdb39f789fe7cad2b636a11dba09be1abeaed28b (patch) | |
tree | 912047c2a48cb272d45843e8740aefced67243f7 | |
parent | 833b9efb302dad5a42776c356def4667474b28dd (diff) |
pikvm/pikvm#785: mute chown
-rw-r--r-- | kvmd.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd.install b/kvmd.install index 365956e4..5bd5bf53 100644 --- a/kvmd.install +++ b/kvmd.install @@ -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 ..." |