summaryrefslogtreecommitdiff
path: root/kvmd.install
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-03-12 05:46:27 +0300
committerMaxim Devaev <[email protected]>2022-03-12 05:46:27 +0300
commit3216f07434a809ad7f9617c21a1c21965551dfae (patch)
treefe8d31bcb1a392572ad7cd9b4d820bd6fde9f31c /kvmd.install
parent2666cf6d56adc418f2f9b528ecc64cfe5122b947 (diff)
fix
Diffstat (limited to 'kvmd.install')
-rw-r--r--kvmd.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd.install b/kvmd.install
index 7e5a3aff..9eafd364 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -45,5 +45,5 @@ post_upgrade() {
[ ! -f /etc/conf.d/rngd ] || (echo 'RNGD_OPTS="-o /dev/random -r /dev/hwrng -x jitter -x pkcs11 -x rtlsdr"' > /etc/conf.d/rngd)
# Some update deletes /etc/motd, WTF
- [ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd
+ [ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd || true
}