summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-07-25 11:22:28 +0300
committerMaxim Devaev <[email protected]>2022-07-25 11:22:28 +0300
commitcdb39f789fe7cad2b636a11dba09be1abeaed28b (patch)
tree912047c2a48cb272d45843e8740aefced67243f7 /kvmd.install
parent833b9efb302dad5a42776c356def4667474b28dd (diff)
pikvm/pikvm#785: mute chown
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install4
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 ..."